Show / Hide Table of Contents

    Class BasicAuthenticationBuilderExtension

    This is a factory implementation of the BasicAuthenticationMiddleware class.

    Inheritance
    System.Object
    BasicAuthenticationBuilderExtension
    Namespace: Cuemon.AspNetCore.Authentication
    Assembly: Cuemon.AspNetCore.Authentication.dll
    Syntax
    public static class BasicAuthenticationBuilderExtension

    Methods

    | Improve this Doc

    UseBasicAuthentication(IApplicationBuilder, Action<BasicAuthenticationOptions>)

    Adds a HTTP Basic Authentication scheme to the Microsoft.AspNetCore.Builder.IApplicationBuilder request execution pipeline.

    Declaration
    public static IApplicationBuilder UseBasicAuthentication(this IApplicationBuilder builder, Action<BasicAuthenticationOptions> setup = null)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Builder.IApplicationBuilder builder

    The type that provides the mechanisms to configure an application’s request pipeline.

    System.Action<BasicAuthenticationOptions> setup

    The HTTP BasicAuthenticationOptions middleware which need to be configured.

    Returns
    Type Description
    Microsoft.AspNetCore.Builder.IApplicationBuilder

    A reference to this instance after the operation has completed.

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