IdentityErrorDescriber 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.
Service to enable localization for application facing identity errors.
public ref class IdentityErrorDescriber
public class IdentityErrorDescriber
type IdentityErrorDescriber = class
Public Class IdentityErrorDescriber
- Inheritance
-
IdentityErrorDescriber
Remarks
These errors are returned to controllers and are generally used as display messages to end users.
Constructors
IdentityErrorDescriber() |
Methods
ConcurrencyFailure() |
Returns an IdentityError indicating a concurrency failure. |
DefaultError() |
Returns the default IdentityError. |
DuplicateEmail(String) |
Returns an IdentityError indicating the specified |
DuplicateRoleName(String) |
Returns an IdentityError indicating the specified |
DuplicateUserName(String) |
Returns an IdentityError indicating the specified |
InvalidEmail(String) |
Returns an IdentityError indicating the specified |
InvalidRoleName(String) |
Returns an IdentityError indicating the specified |
InvalidToken() |
Returns an IdentityError indicating an invalid token. |
InvalidUserName(String) |
Returns an IdentityError indicating the specified user |
LoginAlreadyAssociated() |
Returns an IdentityError indicating an external login is already associated with an account. |
PasswordMismatch() |
Returns an IdentityError indicating a password mismatch. |
PasswordRequiresDigit() |
Returns an IdentityError indicating a password entered does not contain a numeric character, which is required by the password policy. |
PasswordRequiresLower() |
Returns an IdentityError indicating a password entered does not contain a lower case letter, which is required by the password policy. |
PasswordRequiresNonAlphanumeric() |
Returns an IdentityError indicating a password entered does not contain a non-alphanumeric character, which is required by the password policy. |
PasswordRequiresUniqueChars(Int32) |
Returns an IdentityError indicating a password does not meet the minimum number |
PasswordRequiresUpper() |
Returns an IdentityError indicating a password entered does not contain an upper case letter, which is required by the password policy. |
PasswordTooShort(Int32) |
Returns an IdentityError indicating a password of the specified |
RecoveryCodeRedemptionFailed() |
Returns an IdentityError indicating a recovery code was not redeemed. |
UserAlreadyHasPassword() |
Returns an IdentityError indicating a user already has a password. |
UserAlreadyInRole(String) |
Returns an IdentityError indicating a user is already in the specified |
UserLockoutNotEnabled() |
Returns an IdentityError indicating user lockout is not enabled. |
UserNotInRole(String) |
Returns an IdentityError indicating a user is not in the specified |