Show / Hide Table of Contents

    Class DigestAccessAuthenticationOptions

    Configuration options for DigestAccessAuthenticationMiddleware. This class cannot be inherited.

    Inheritance
    System.Object
    AuthenticationOptions
    DigestAccessAuthenticationOptions
    Inherited Members
    AuthenticationOptions.RequireSecureConnection
    AuthenticationOptions.HttpNotAuthorizedBody
    Namespace: Cuemon.AspNetCore.Authentication
    Assembly: Cuemon.AspNetCore.Authentication.dll
    Syntax
    public sealed class DigestAccessAuthenticationOptions : AuthenticationOptions

    Constructors

    | Improve this Doc

    DigestAccessAuthenticationOptions()

    Initializes a new instance of the DigestAccessAuthenticationOptions class.

    Declaration
    public DigestAccessAuthenticationOptions()

    Properties

    | Improve this Doc

    Algorithm

    Gets or sets the algorithm of the HTTP Digest Access Authentication. Default is MD5.

    Declaration
    public HashAlgorithmType Algorithm { get; set; }
    Property Value
    Type Description
    HashAlgorithmType

    The algorithm of the HTTP Digest Access Authentication.

    | Improve this Doc

    Authenticator

    Gets or sets the function delegate that will perform the authentication from the specified username.

    Declaration
    public DigestAccessAuthenticator Authenticator { get; set; }
    Property Value
    Type Description
    DigestAccessAuthenticator

    The function delegate that will perform the authentication.

    | Improve this Doc

    DigestAccessSigner

    Gets or sets the function delegate that will sign a message retrieved from a HTTP request.

    Declaration
    public Func<DigestAccessAuthenticationParameters, byte[]> DigestAccessSigner { get; set; }
    Property Value
    Type Description
    System.Func<DigestAccessAuthenticationParameters, System.Byte[]>

    The function delegate that will sign a message.

    | Improve this Doc

    NonceExpiredParser

    Gets or sets the function delegate for parsing nonce string values for expiration.

    Declaration
    public Func<string, TimeSpan, bool> NonceExpiredParser { get; set; }
    Property Value
    Type Description
    System.Func<System.String, System.TimeSpan, System.Boolean>

    The function delegate for parsing nonce string values for expiration.

    | Improve this Doc

    NonceGenerator

    Gets or sets the function delegate for generating nonce string values.

    Declaration
    public Func<DateTime, string, byte[], string> NonceGenerator { get; set; }
    Property Value
    Type Description
    System.Func<System.DateTime, System.String, System.Byte[], System.String>

    The function delegate for generating nonce string values.

    | Improve this Doc

    NonceSecret

    Gets or sets the function delegate for retrieving the cryptographic secret used in nonce string values.

    Declaration
    public Func<byte[]> NonceSecret { get; set; }
    Property Value
    Type Description
    System.Func<System.Byte[]>

    The function delegate for retrieving the cryptographic secret used in nonce string values.

    | Improve this Doc

    OpaqueGenerator

    Gets or sets the function delegate for generating opaque string values.

    Declaration
    public Func<string> OpaqueGenerator { get; set; }
    Property Value
    Type Description
    System.Func<System.String>

    The function delegate for generating opaque string values.

    | Improve this Doc

    Realm

    Gets the realm that defines the protection space.

    Declaration
    public string Realm { get; set; }
    Property Value
    Type Description
    System.String

    The realm that defines the protection space.

    Extension Methods

    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Byte[], Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, Byte[]>, Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Byte[], Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Byte[], Action<ContentTimeBasedOptions>)

    See Also

    AuthenticationOptions
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX