Search Results for

    Show / Hide Table of Contents
    View Source

    Class BackOfficeClaimsPrincipalFactory

    A for the back office

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Security
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class BackOfficeClaimsPrincipalFactory : UserClaimsPrincipalFactory<BackOfficeIdentityUser>

    Constructors

    View Source

    BackOfficeClaimsPrincipalFactory(UserManager<BackOfficeIdentityUser>, IOptions<BackOfficeIdentityOptions>)

    Initializes a new instance of the BackOfficeClaimsPrincipalFactory class.

    Declaration
    public BackOfficeClaimsPrincipalFactory(UserManager<BackOfficeIdentityUser> userManager, IOptions<BackOfficeIdentityOptions> optionsAccessor)
    Parameters
    Type Name Description
    UserManager<BackOfficeIdentityUser> userManager

    The user manager

    IOptions<BackOfficeIdentityOptions> optionsAccessor

    The BackOfficeIdentityOptions

    Properties

    View Source

    AuthenticationType

    Declaration
    protected virtual string AuthenticationType { get; }
    Property Value
    Type Description
    System.String

    Methods

    View Source

    GenerateClaimsAsync(BackOfficeIdentityUser)

    Declaration
    protected override async Task<ClaimsIdentity> GenerateClaimsAsync(BackOfficeIdentityUser user)
    Parameters
    Type Name Description
    BackOfficeIdentityUser user
    Returns
    Type Description
    Task<System.Security.Claims.ClaimsIdentity>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • BackOfficeClaimsPrincipalFactory(UserManager<BackOfficeIdentityUser>, IOptions<BackOfficeIdentityOptions>)
    • Properties
      • AuthenticationType
    • Methods
      • GenerateClaimsAsync(BackOfficeIdentityUser)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX