Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoErrorDescriberBase

    Inheritance
    object
    IdentityErrorDescriber
    Namespace: Umbraco.Cms.Core.Security
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public abstract class UmbracoErrorDescriberBase : IdentityErrorDescriber

    Constructors

    View Source

    UmbracoErrorDescriberBase(ILocalizedTextService)

    Declaration
    protected UmbracoErrorDescriberBase(ILocalizedTextService textService)
    Parameters
    Type Name Description
    ILocalizedTextService textService

    Methods

    View Source

    ConcurrencyFailure()

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating a concurrency failure.

    Declaration
    public override IdentityError ConcurrencyFailure()
    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating a concurrency failure.

    View Source

    DefaultError()

    Returns the default Microsoft.AspNetCore.Identity.IdentityError.

    Declaration
    public override IdentityError DefaultError()
    Returns
    Type Description
    IdentityError

    The default Microsoft.AspNetCore.Identity.IdentityError.

    View Source

    DuplicateEmail(string)

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified email is already associated with an account.

    Declaration
    public override IdentityError DuplicateEmail(string email)
    Parameters
    Type Name Description
    string email

    The email that is already associated with an account.

    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating the specified email is already associated with an account.

    View Source

    DuplicateUserName(string)

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified userName already exists.

    Declaration
    public override IdentityError DuplicateUserName(string userName)
    Parameters
    Type Name Description
    string userName

    The user name that already exists.

    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating the specified userName already exists.

    View Source

    InvalidEmail(string?)

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified email is invalid.

    Declaration
    public override IdentityError InvalidEmail(string? email)
    Parameters
    Type Name Description
    string email

    The email that is invalid.

    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating the specified email is invalid.

    View Source

    InvalidToken()

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating an invalid token.

    Declaration
    public override IdentityError InvalidToken()
    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating an invalid token.

    View Source

    InvalidUserName(string?)

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating the specified user userName is invalid.

    Declaration
    public override IdentityError InvalidUserName(string? userName)
    Parameters
    Type Name Description
    string userName

    The user name that is invalid.

    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating the specified user userName is invalid.

    View Source

    PasswordMismatch()

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating a password mismatch.

    Declaration
    public override IdentityError PasswordMismatch()
    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating a password mismatch.

    View Source

    PasswordRequiresDigit()

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating a password entered does not contain a numeric character, which is required by the password policy.

    Declaration
    public override IdentityError PasswordRequiresDigit()
    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating a password entered does not contain a numeric character.

    View Source

    PasswordRequiresLower()

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating a password entered does not contain a lower case letter, which is required by the password policy.

    Declaration
    public override IdentityError PasswordRequiresLower()
    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating a password entered does not contain a lower case letter.

    View Source

    PasswordRequiresNonAlphanumeric()

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating a password entered does not contain a non-alphanumeric character, which is required by the password policy.

    Declaration
    public override IdentityError PasswordRequiresNonAlphanumeric()
    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating a password entered does not contain a non-alphanumeric character.

    View Source

    PasswordRequiresUniqueChars(int)

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating a password does not meet the minimum number uniqueChars of unique chars.

    Declaration
    public override IdentityError PasswordRequiresUniqueChars(int uniqueChars)
    Parameters
    Type Name Description
    int uniqueChars

    The number of different chars that must be used.

    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating a password does not meet the minimum number uniqueChars of unique chars.

    View Source

    PasswordRequiresUpper()

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating a password entered does not contain an upper case letter, which is required by the password policy.

    Declaration
    public override IdentityError PasswordRequiresUpper()
    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating a password entered does not contain an upper case letter.

    View Source

    PasswordTooShort(int)

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating a password of the specified length does not meet the minimum length requirements.

    Declaration
    public override IdentityError PasswordTooShort(int length)
    Parameters
    Type Name Description
    int length

    The length that is not long enough.

    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating a password of the specified length does not meet the minimum length requirements.

    View Source

    RecoveryCodeRedemptionFailed()

    Returns an Microsoft.AspNetCore.Identity.IdentityError indicating a recovery code was not redeemed.

    Declaration
    public override IdentityError RecoveryCodeRedemptionFailed()
    Returns
    Type Description
    IdentityError

    An Microsoft.AspNetCore.Identity.IdentityError indicating a recovery code was not redeemed.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX