Class BackOfficeClaimsPrincipalFactory
A
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Security
Assembly: Umbraco.Infrastructure.dll
Syntax
public class BackOfficeClaimsPrincipalFactory : UserClaimsPrincipalFactory<BackOfficeIdentityUser>
Constructors
View SourceBackOfficeClaimsPrincipalFactory(UserManager<BackOfficeIdentityUser>, IOptions<BackOfficeIdentityOptions>)
Initializes a new instance of the Back
Declaration
public BackOfficeClaimsPrincipalFactory(UserManager<BackOfficeIdentityUser> userManager, IOptions<BackOfficeIdentityOptions> optionsAccessor)
Parameters
Type | Name | Description |
---|---|---|
User |
userManager | The user manager |
IOptions<Back |
optionsAccessor |
Properties
View SourceAuthenticationType
Declaration
protected virtual string AuthenticationType { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
View SourceGenerateClaimsAsync(BackOfficeIdentityUser)
Declaration
protected override async Task<ClaimsIdentity> GenerateClaimsAsync(BackOfficeIdentityUser user)
Parameters
Type | Name | Description |
---|---|---|
Back |
user |
Returns
Type | Description |
---|---|
Task<System. |