Delen via


UserValidator<TUser> Class

Definition

Provides validation services for user classes.

generic <typename TUser>
 where TUser : classpublic ref class UserValidator : Microsoft::AspNetCore::Identity::IUserValidator<TUser>
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>
Implements

Constructors

UserValidator<TUser>(IdentityErrorDescriber)

Creates a new instance of UserValidator<TUser>.

Properties

Describer

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

Methods

ValidateAsync(UserManager<TUser>, TUser)

Validates the specified user as an asynchronous operation.

Applies to