UserValidator<TUser> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |