Class ExtendedIdentityErrorDescriber
Inheritance
Inherited Members
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public class ExtendedIdentityErrorDescriber : IdentityErrorDescriber
Methods
AccountCompletedButNotAllowed()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating that the account association is completed, but the user is not allowed to login.
Declaration
public virtual IdentityError AccountCompletedButNotAllowed()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating that the account association is completed, but the user is not allowed to login. |
ConcurrencyFailure()
Declaration
public override IdentityError ConcurrencyFailure()
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
DefaultError()
Declaration
public override IdentityError DefaultError()
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
DisplayEmailMustBeTrue()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating that DisplayEmail must be true.
Declaration
public IdentityError DisplayEmailMustBeTrue()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating that DisplayEmail must be true. |
DisplayPhoneNumberMustBeTrue()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating that DisplayPhoneNumber must be true.
Declaration
public IdentityError DisplayPhoneNumberMustBeTrue()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating that DisplayPhoneNumber must be true. |
DomainNameNotAllowed(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified domainName
isn't allowed to be used.
Declaration
public virtual IdentityError DomainNameNotAllowed(string domainName)
Parameters
String
domainName
The domain name that isnät allowed to be used. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
DuplicateDomainName(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified domainName
already exists.
Declaration
public IdentityError DuplicateDomainName(string domainName)
Parameters
String
domainName
The domain name that already exists. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
DuplicateEmail(String)
Declaration
public override IdentityError DuplicateEmail(string email)
Parameters
String
email
|
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
DuplicateFunctionalityName(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified functionalityName
already exists.
Declaration
public IdentityError DuplicateFunctionalityName(string functionalityName)
Parameters
String
functionalityName
The functionality name that already exists. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
DuplicateModuleName(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified moduleName
already exists.
Declaration
public IdentityError DuplicateModuleName(string moduleName)
Parameters
String
moduleName
The module name that already exists. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
DuplicateOrganisationIdentityNumber(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified identityNumber
already exists.
Declaration
public IdentityError DuplicateOrganisationIdentityNumber(string identityNumber)
Parameters
String
identityNumber
The organisation identity number that already exists. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
DuplicateOrganisationName(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified organisationName
already exists.
Declaration
public IdentityError DuplicateOrganisationName(string organisationName)
Parameters
String
organisationName
The organisation name that already exists. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
DuplicatePermission(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified permission
already exists.
Declaration
public IdentityError DuplicatePermission(string permission)
Parameters
String
permission
The permission that already exists. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
DuplicateRoleName(String)
Declaration
public override IdentityError DuplicateRoleName(string role)
Parameters
String
role
|
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
DuplicateUniqueTenantUrl(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified tenantUrl
already exists.
Declaration
public IdentityError DuplicateUniqueTenantUrl(string tenantUrl)
Parameters
String
tenantUrl
The tenant unique url that already exists. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
DuplicateUserName(String)
Declaration
public override IdentityError DuplicateUserName(string userName)
Parameters
String
userName
|
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
ExternalRoleCantBeAddedToNewUsers()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating that external roles can't be added to new users, since they are synchronized during login.
Declaration
public virtual IdentityError ExternalRoleCantBeAddedToNewUsers()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating that external roles can't be added to new users, since they are synchronized during login. |
InvalidDomainName(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified domainName
is invalid.
Declaration
public IdentityError InvalidDomainName(string domainName)
Parameters
String
domainName
The invalid domain name. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
InvalidEmail(String)
Declaration
public override IdentityError InvalidEmail(string email)
Parameters
String
email
|
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
InvalidExternalRoleName()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating that the external role name is invalid.
Declaration
public virtual IdentityError InvalidExternalRoleName()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating that the external role name is invalid. |
InvalidFirstName(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified firstName
is invalid.
Declaration
public virtual IdentityError InvalidFirstName(string firstName)
Parameters
String
firstName
The first name that is invalid. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
InvalidFunctionalityName(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified functionalityName
is invalid.
Declaration
public IdentityError InvalidFunctionalityName(string functionalityName)
Parameters
String
functionalityName
The invalid functionality name |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
InvalidLastName(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified lastName
is invalid.
Declaration
public virtual IdentityError InvalidLastName(string lastName)
Parameters
String
lastName
The last name that is invalid. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
InvalidModuleName(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified moduleName
is invalid.
Declaration
public IdentityError InvalidModuleName(string moduleName)
Parameters
String
moduleName
The invalid module name |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
InvalidOidcAuthoriy(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified authority
is invalid.
Declaration
public IdentityError InvalidOidcAuthoriy(string authority)
Parameters
String
authority
The invalid authority |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
InvalidOidcClientId(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified clientId
is invalid.
Declaration
public IdentityError InvalidOidcClientId(string clientId)
Parameters
String
clientId
The invalid client id |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
InvalidOidcResponseMode(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified responseMode
is invalid.
Declaration
public IdentityError InvalidOidcResponseMode(string responseMode)
Parameters
String
responseMode
The invalid response mode |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
InvalidOidcResponseType(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified responseType
is invalid.
Declaration
public IdentityError InvalidOidcResponseType(string responseType)
Parameters
String
responseType
The invalid response type |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
InvalidOidcScopeMissingOpenId()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the Scope is missing openid.
Declaration
public IdentityError InvalidOidcScopeMissingOpenId()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the Scope is missing openid. |
InvalidOrganisation()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating that the organisation id is not part of this tenant's organisation tree.
Declaration
public virtual IdentityError InvalidOrganisation()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating that the organisation id is not part of this tenant's organisation tree. |
InvalidOrganisationIdentityNumber(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified identityNumber
is invalid.
Declaration
public IdentityError InvalidOrganisationIdentityNumber(string identityNumber)
Parameters
String
identityNumber
The invalid organisation identity number. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
InvalidOrganisationIdentityNumberForPrivatePerson()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating that an identity number is invalid for organisation representing private persons.
Declaration
public IdentityError InvalidOrganisationIdentityNumberForPrivatePerson()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating that an identity number is invalid for organisation representing private persons. |
InvalidOrganisationName(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified organisationName
is invalid.
Declaration
public IdentityError InvalidOrganisationName(string organisationName)
Parameters
String
organisationName
The invalid organisation name |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
InvalidPasswordOptionsRequireDigit()
Declaration
public IdentityError InvalidPasswordOptionsRequireDigit()
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
InvalidPasswordOptionsRequiredLength(Int32)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating that the password options for required length is invalid.
Declaration
public IdentityError InvalidPasswordOptionsRequiredLength(int defaultRequiredLength)
Parameters
System.Int32
defaultRequiredLength
The default (minimum) required length. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating that the password options for required length is invalid. |
InvalidPasswordOptionsRequiredUniqueChars(Int32)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating that the password options for required unique chars is invalid..
Declaration
public IdentityError InvalidPasswordOptionsRequiredUniqueChars(int defaultRequiredUniqueChars)
Parameters
System.Int32
defaultRequiredUniqueChars
The default (minimum) unique chars. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating that the password options for unique chars is invalid. |
InvalidPasswordOptionsRequireLowercase()
Declaration
public IdentityError InvalidPasswordOptionsRequireLowercase()
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
InvalidPasswordOptionsRequireNonAlphanumeric()
Declaration
public IdentityError InvalidPasswordOptionsRequireNonAlphanumeric()
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
InvalidPasswordOptionsRequireUppercase()
Declaration
public IdentityError InvalidPasswordOptionsRequireUppercase()
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
InvalidPermission(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified permission
is invalid.
Declaration
public IdentityError InvalidPermission(string permission)
Parameters
String
permission
The invalid permission name |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
InvalidPersonName()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the name of the person is invalid.
Declaration
public virtual IdentityError InvalidPersonName()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the name of the person is invalid. |
InvalidPhoneNumber(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified phoneNumber
is invalid.
Declaration
public virtual IdentityError InvalidPhoneNumber(string phoneNumber)
Parameters
String
phoneNumber
The phone number that is invalid. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
InvalidRoleName(String)
Declaration
public override IdentityError InvalidRoleName(string role)
Parameters
String
role
|
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
InvalidToken()
Declaration
public override IdentityError InvalidToken()
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
InvalidTwoFactorCode()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified code is invalid.
Declaration
public IdentityError InvalidTwoFactorCode()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified code is invalid. |
InvalidUserName(String)
Declaration
public override IdentityError InvalidUserName(string userName)
Parameters
String
userName
|
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
LoginAlreadyAssociated()
Declaration
public override IdentityError LoginAlreadyAssociated()
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
PasswordCurrentAndNewIsEqual()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating a password entered is equal to the current password.
Declaration
public virtual IdentityError PasswordCurrentAndNewIsEqual()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating a password entered is equal to the current password. |
PasswordMismatch()
Declaration
public override IdentityError PasswordMismatch()
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
PasswordRequiresDigit()
Declaration
public override IdentityError PasswordRequiresDigit()
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
PasswordRequiresLower()
Declaration
public override IdentityError PasswordRequiresLower()
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
PasswordRequiresNonAlphanumeric()
Declaration
public override IdentityError PasswordRequiresNonAlphanumeric()
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
PasswordRequiresUniqueChars(Int32)
Declaration
public override IdentityError PasswordRequiresUniqueChars(int uniqueChars)
Parameters
System.Int32
uniqueChars
|
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
PasswordRequiresUpper()
Declaration
public override IdentityError PasswordRequiresUpper()
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
PasswordTooShort(Int32)
Declaration
public override IdentityError PasswordTooShort(int length)
Parameters
System.Int32
length
|
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
RecoveryCodeRedemptionFailed()
Declaration
public override IdentityError RecoveryCodeRedemptionFailed()
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
RequireEmailMustBeTrue()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating that RequireEmail must be true.
Declaration
public IdentityError RequireEmailMustBeTrue()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating that RequireEmail must be true. |
RequirePhoneNumberMustBeTrue()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating that RequirePhoneNumber must be true.
Declaration
public IdentityError RequirePhoneNumberMustBeTrue()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating that RequirePhoneNumber must be true. |
SendInvitationRequiredAnEmailAddress()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating that an email address is required to send an invitation.
Declaration
public static IdentityError SendInvitationRequiredAnEmailAddress()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating that an email address is required to send an invitation. |
SystemUserCantHaveExternalLogin()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating a system user can't have external logins associated with them.
Declaration
public virtual IdentityError SystemUserCantHaveExternalLogin()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating a system user can't have external logins associated with them. |
TrustedDomainNotAllowedForPrivatePerson()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating that private person is not allowed to have trusted domains.
Declaration
public IdentityError TrustedDomainNotAllowedForPrivatePerson()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating that private person is not allowed to have trusted domains. |
UserAlreadyHasPassword()
Declaration
public override IdentityError UserAlreadyHasPassword()
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
UserAlreadyInRole(String)
Declaration
public override IdentityError UserAlreadyInRole(string role)
Parameters
String
role
|
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
UserLockoutNotEnabled()
Declaration
public override IdentityError UserLockoutNotEnabled()
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
UserNameNotAnEmailAddress(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified userName
is invalid because it's not an valid email address.
Declaration
public IdentityError UserNameNotAnEmailAddress(string userName)
Parameters
String
userName
The invalid username. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
UserNameNotAPhoneNumber(String)
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified userName
is invalid because it's not a valid phone number.
Declaration
public IdentityError UserNameNotAPhoneNumber(string userName)
Parameters
String
userName
The invalid username. |
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating the specified |
UserNotInRole(String)
Declaration
public override IdentityError UserNotInRole(string role)
Parameters
String
role
|
Returns
Microsoft.AspNetCore.Identity.IdentityError
|
Overrides
UserValidToMustBeLaterThanValidFrom()
Returns an Microsoft.AspNetCore.Identity.IdentityError indicating that valid to must be later than valid from for the user.
Declaration
public virtual IdentityError UserValidToMustBeLaterThanValidFrom()
Returns
Microsoft.AspNetCore.Identity.IdentityError
An Microsoft.AspNetCore.Identity.IdentityError indicating that valid to must be later than valid from for the user. |