Show / Hide Table of Contents

    Class BasicAuthenticationOptions

    Configuration options for BasicAuthenticationMiddleware. This class cannot be inherited.

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

    Constructors

    | Improve this Doc

    BasicAuthenticationOptions()

    Initializes a new instance of the BasicAuthenticationOptions class.

    Declaration
    public BasicAuthenticationOptions()

    Properties

    | Improve this Doc

    Authenticator

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

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

    The function delegate that will perform the authentication.

    | 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