Export (0) Print
Expand All

UserValidator<TUser> Class

Validates users before they are saved to an IUserStore

System.Object
  Microsoft.AspNet.Identity.UserValidator<TUser>

Namespace:  Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

public class UserValidator<TUser> : IIdentityValidator<TUser>
where TUser : IUser

Type Parameters

TUser

The UserValidator<TUser> type exposes the following members.

  NameDescription
Public methodUserValidator<TUser>Constructor
Top

  NameDescription
Public propertyAllowOnlyAlphanumericUserNamesOnly allow [A-Za-z0-9] in UserNames
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodValidateAsyncValidates a user before saving
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft