Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IBackOfficeUserPasswordChecker

    Used by the BackOfficeUserManager to check the username/password which allows for developers to more easily set the logic for this procedure.

    Namespace: Umbraco.Cms.Core.Security
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface IBackOfficeUserPasswordChecker

    Methods

    View Source

    CheckPasswordAsync(BackOfficeIdentityUser, String)

    Checks a password for a user

    Declaration
    Task<BackOfficeUserPasswordCheckerResult> CheckPasswordAsync(BackOfficeIdentityUser user, string password)
    Parameters
    Type Name Description
    BackOfficeIdentityUser user
    System.String password
    Returns
    Type Description
    Task<BackOfficeUserPasswordCheckerResult>
    Remarks

    This will allow a developer to auto-link a local account which is required if the user queried doesn't exist locally. The user parameter will always contain the username, if the user doesn't exist locally, the other properties will not be filled in. A developer can then create a local account by filling in the properties and using UserManager.CreateAsync

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • CheckPasswordAsync(BackOfficeIdentityUser, String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX