Show / Hide Table of Contents

    Class AuthenticationOptions

    Base options for all authentication middleware.

    Inheritance
    System.Object
    AuthenticationOptions
    BasicAuthenticationOptions
    DigestAccessAuthenticationOptions
    HmacAuthenticationOptions
    Namespace: Cuemon.AspNetCore.Authentication
    Assembly: Cuemon.AspNetCore.Authentication.dll
    Syntax
    public abstract class AuthenticationOptions

    Constructors

    | Improve this Doc

    AuthenticationOptions()

    Initializes a new instance of the AuthenticationOptions class.

    Declaration
    protected AuthenticationOptions()

    Properties

    | Improve this Doc

    HttpNotAuthorizedBody

    Gets or sets the function delegate for retrieving content for the body of an unauthorized request.

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

    A System.Func<TResult> for retrieving content for the body of an unauthorized request.

    | Improve this Doc

    RequireSecureConnection

    Gets or sets a value indicating whether a HTTP connection is required to use secure sockets (that is, HTTPS).

    Declaration
    public bool RequireSecureConnection { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the HTTP connection is required to use secure sockets (that is, HTTPS); otherwise, false.

    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>)
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX