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>, IOptions<BackOfficeAuthenticationTypeSettings>)
Initializes a new instance of the BackOfficeClaimsPrincipalFactory class.
Declaration
public BackOfficeClaimsPrincipalFactory(UserManager<BackOfficeIdentityUser> userManager, IOptions<BackOfficeIdentityOptions> optionsAccessor, IOptions<BackOfficeAuthenticationTypeSettings> backOfficeAuthenticationTypeSettings)
Parameters
Type | Name | Description |
---|---|---|
UserManager<BackOfficeIdentityUser> | userManager | The user manager |
IOptions<BackOfficeIdentityOptions> | optionsAccessor | |
IOptions<BackOfficeAuthenticationTypeSettings> | backOfficeAuthenticationTypeSettings |
Properties
View SourceAuthenticationType
Declaration
protected virtual string AuthenticationType { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
View SourceGenerateClaimsAsync(BackOfficeIdentityUser)
Declaration
protected override async Task<ClaimsIdentity> GenerateClaimsAsync(BackOfficeIdentityUser user)
Parameters
Type | Name | Description |
---|---|---|
BackOfficeIdentityUser | user |
Returns
Type | Description |
---|---|
Task<System.Security.Claims.ClaimsIdentity> |