Search Results for

    Show / Hide Table of Contents
    View Source

    Class MemberPasswordHasher

    A password hasher for members

    Inheritance
    System.Object
    UmbracoPasswordHasher<MemberIdentityUser>
    Namespace: Umbraco.Cms.Core.Security
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class MemberPasswordHasher : UmbracoPasswordHasher<MemberIdentityUser>
    Remarks

    This will check for the ASP.NET Identity password hash flag before falling back to the legacy password hashing format ("HMACSHA256")

    Constructors

    View Source

    MemberPasswordHasher(LegacyPasswordSecurity, IJsonSerializer)

    Declaration
    public MemberPasswordHasher(LegacyPasswordSecurity legacyPasswordHasher, IJsonSerializer jsonSerializer)
    Parameters
    Type Name Description
    LegacyPasswordSecurity legacyPasswordHasher
    IJsonSerializer jsonSerializer
    View Source

    MemberPasswordHasher(LegacyPasswordSecurity, IJsonSerializer, IOptions<LegacyPasswordMigrationSettings>, ILogger<MemberPasswordHasher>)

    Declaration
    public MemberPasswordHasher(LegacyPasswordSecurity legacyPasswordHasher, IJsonSerializer jsonSerializer, IOptions<LegacyPasswordMigrationSettings> legacyMachineKeySettings, ILogger<MemberPasswordHasher> logger)
    Parameters
    Type Name Description
    LegacyPasswordSecurity legacyPasswordHasher
    IJsonSerializer jsonSerializer
    IOptions<LegacyPasswordMigrationSettings> legacyMachineKeySettings
    ILogger<MemberPasswordHasher> logger

    Methods

    View Source

    VerifyHashedPassword(MemberIdentityUser, String, String)

    Verifies a user's hashed password

    Declaration
    public override PasswordVerificationResult VerifyHashedPassword(MemberIdentityUser user, string hashedPassword, string providedPassword)
    Parameters
    Type Name Description
    MemberIdentityUser user
    System.String hashedPassword
    System.String providedPassword
    Returns
    Type Description
    PasswordVerificationResult
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • MemberPasswordHasher(LegacyPasswordSecurity, IJsonSerializer)
      • MemberPasswordHasher(LegacyPasswordSecurity, IJsonSerializer, IOptions<LegacyPasswordMigrationSettings>, ILogger<MemberPasswordHasher>)
    • Methods
      • VerifyHashedPassword(MemberIdentityUser, String, String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX