Search Results for

    Show / Hide Table of Contents
    View Source

    Class MemberSecurityStampValidator

    A security stamp validator for the back office

    Inheritance
    object
    SecurityStampValidator<MemberIdentityUser>
    Namespace: Umbraco.Cms.Web.Common.Security
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public class MemberSecurityStampValidator : SecurityStampValidator<MemberIdentityUser>

    Constructors

    View Source

    MemberSecurityStampValidator(IOptions<MemberSecurityStampValidatorOptions>, MemberSignInManager, ILoggerFactory)

    Declaration
    public MemberSecurityStampValidator(IOptions<MemberSecurityStampValidatorOptions> options, MemberSignInManager signInManager, ILoggerFactory logger)
    Parameters
    Type Name Description
    IOptions<MemberSecurityStampValidatorOptions> options
    MemberSignInManager signInManager
    ILoggerFactory logger

    Methods

    View Source

    ValidateAsync(CookieValidatePrincipalContext)

    Validates a security stamp of an identity as an asynchronous operation, and rebuilds the identity if the validation succeeds, otherwise rejects the identity.

    Declaration
    public override Task ValidateAsync(CookieValidatePrincipalContext context)
    Parameters
    Type Name Description
    CookieValidatePrincipalContext context

    The context containing the System.Security.Claims.ClaimsPrincipal and Microsoft.AspNetCore.Authentication.AuthenticationProperties to validate.

    Returns
    Type Description
    Task

    The System.Threading.Tasks.Task that represents the asynchronous validation operation.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX