Interface IExternalLoginService
Used to store the external login info, this can be replaced with your own implementation
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
public interface IExternalLoginService : IService
Methods
DeleteUserLogins(Int32)
Deletes all user logins - normally used when a member is deleted
Declaration
void DeleteUserLogins(int userId)
Parameters
Type |
Name |
Description |
System.Int32 |
userId |
|
Find(UserLoginInfo)
Returns all logins matching the login info - generally there should only be one but in some cases
there might be more than one depending on if an adminstrator has been editing/removing members
Declaration
IEnumerable<IIdentityUserLogin> Find(UserLoginInfo login)
Parameters
Type |
Name |
Description |
Microsoft.AspNet.Identity.UserLoginInfo |
login |
|
Returns
GetAll(Int32)
Returns all user logins assigned
Declaration
IEnumerable<IIdentityUserLogin> GetAll(int userId)
Parameters
Type |
Name |
Description |
System.Int32 |
userId |
|
Returns
SaveUserLogins(Int32, IEnumerable<UserLoginInfo>)
Declaration
void SaveUserLogins(int userId, IEnumerable<UserLoginInfo> logins)
Parameters
Type |
Name |
Description |
System.Int32 |
userId |
|
System.Collections.Generic.IEnumerable<Microsoft.AspNet.Identity.UserLoginInfo> |
logins |
|