UserValidator<TUser> UserValidator<TUser> UserValidator<TUser> Class

Definition

Provides validation services for user classes.

public class UserValidator<TUser> : Microsoft.AspNetCore.Identity.IUserValidator<TUser> where TUser : class
type UserValidator<'User (requires 'User : null)> = class
    interface IUserValidator<'User (requires 'User : null)>
Public Class UserValidator(Of TUser)
Implements IUserValidator(Of TUser)

Type Parameters

TUser

The type encapsulating a user.

Inheritance
UserValidator<TUser>UserValidator<TUser>UserValidator<TUser>
Implements

Constructors

UserValidator<TUser>(IdentityErrorDescriber) UserValidator<TUser>(IdentityErrorDescriber) UserValidator<TUser>(IdentityErrorDescriber)

Creates a new instance of UserValidator<TUser>/

Properties

Describer Describer Describer

Gets the IdentityErrorDescriber used to provider error messages for the current UserValidator<TUser>.

Methods

ValidateAsync(UserManager<TUser>, TUser) ValidateAsync(UserManager<TUser>, TUser) ValidateAsync(UserManager<TUser>, TUser)

Validates the specified user as an asynchronous operation.

Applies to