Interface IExternalLoginWithKeyRepository
Repository for external logins with Guid as key, so it can be shared for members and users
Namespace: Umbraco.Cms.Core.Persistence.Repositories
Assembly: Umbraco.Core.dll
Syntax
public interface IExternalLoginWithKeyRepository : IReadWriteQueryRepository<int, IIdentityUserLogin>, IReadRepository<int, IIdentityUserLogin>, IWriteRepository<IIdentityUserLogin>, IQueryRepository<IIdentityUserLogin>, IQueryRepository<IIdentityUserToken>, IRepository
Methods
View SourceDeleteUserLogins(Guid)
Deletes all external logins for the specified the user/member key
Declaration
void DeleteUserLogins(Guid userOrMemberKey)
Parameters
Type | Name | Description |
---|---|---|
Guid | userOrMemberKey |
Save(Guid, IEnumerable<IExternalLogin>)
Replaces all external login providers for the user/member key
Declaration
void Save(Guid userOrMemberKey, IEnumerable<IExternalLogin> logins)
Parameters
Type | Name | Description |
---|---|---|
Guid | userOrMemberKey | |
IEnumerable<IExternalLogin> | logins |
Save(Guid, IEnumerable<IExternalLoginToken>)
Replaces all external login provider tokens for the providers specified for the user/member key
Declaration
void Save(Guid userOrMemberKey, IEnumerable<IExternalLoginToken> tokens)
Parameters
Type | Name | Description |
---|---|---|
Guid | userOrMemberKey | |
IEnumerable<IExternalLoginToken> | tokens |