View Source
Class BackOfficeClaimsPrincipalFactory
A Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory<TUser> for the back office
Assembly: Umbraco.Infrastructure.dll
Syntax
public class BackOfficeClaimsPrincipalFactory : UserClaimsPrincipalFactory<BackOfficeIdentityUser>
Constructors
View Source
BackOfficeClaimsPrincipalFactory(UserManager<BackOfficeIdentityUser>, IOptions<BackOfficeIdentityOptions>, IOptions<BackOfficeAuthenticationTypeSettings>)
Declaration
public BackOfficeClaimsPrincipalFactory(UserManager<BackOfficeIdentityUser> userManager, IOptions<BackOfficeIdentityOptions> optionsAccessor, IOptions<BackOfficeAuthenticationTypeSettings> backOfficeAuthenticationTypeSettings)
Parameters
Properties
View Source
AuthenticationType
Declaration
protected virtual string AuthenticationType { get; }
Property Value
Methods
View Source
GenerateClaimsAsync(BackOfficeIdentityUser)
Declaration
protected override Task<ClaimsIdentity> GenerateClaimsAsync(BackOfficeIdentityUser user)
Parameters
Returns
| Type |
Description |
| Task<ClaimsIdentity> |
|