Search Results for

    Show / Hide Table of Contents
    View Source

    Class BackOfficeUserValidator<T>

    Inheritance
    object
    UserValidator<T>
    Namespace: Umbraco.Cms.Core.Security
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class BackOfficeUserValidator<T> : UserValidator<T> where T : BackOfficeIdentityUser
    Type Parameters
    Name Description
    T

    Methods

    View Source

    ValidateAsync(UserManager<T>, T)

    Validates the specified user as an asynchronous operation.

    Declaration
    public override Task<IdentityResult> ValidateAsync(UserManager<T> manager, T user)
    Parameters
    Type Name Description
    UserManager<T> manager

    The Microsoft.AspNetCore.Identity.UserManager<TUser> that can be used to retrieve user properties.

    T user

    The user to validate.

    Returns
    Type Description
    Task<IdentityResult>

    The System.Threading.Tasks.Task that represents the asynchronous operation, containing the Microsoft.AspNetCore.Identity.IdentityResult of the validation operation.

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