Table of Contents

Class ApplicationBuilderExtensions

Namespace
Cuemon.Extensions.AspNetCore.Authentication
Assembly
Cuemon.Extensions.AspNetCore.Authentication.dll

Extension methods for the Microsoft.AspNetCore.Builder.IApplicationBuilder interface.

public static class ApplicationBuilderExtensions
Inheritance
Object
ApplicationBuilderExtensions

Methods

UseBasicAuthentication(IApplicationBuilder, Action<BasicAuthenticationOptions>)

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

public static IApplicationBuilder UseBasicAuthentication(this IApplicationBuilder builder, Action<BasicAuthenticationOptions> setup = null)

Parameters

builder IApplicationBuilder

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

setup Action<BasicAuthenticationOptions>

The HTTP BasicAuthenticationOptions middleware which may be configured.

Returns

IApplicationBuilder

A reference to builder after the operation has completed.

UseDigestAccessAuthentication(IApplicationBuilder, Action<DigestAuthenticationOptions>)

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

public static IApplicationBuilder UseDigestAccessAuthentication(this IApplicationBuilder builder, Action<DigestAuthenticationOptions> setup = null)

Parameters

builder IApplicationBuilder

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

setup Action<DigestAuthenticationOptions>

The HTTP DigestAuthenticationMiddleware middleware which may be configured.

Returns

IApplicationBuilder

A reference to builder after the operation has completed.

UseHmacAuthentication(IApplicationBuilder, Action<HmacAuthenticationOptions>)

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

public static IApplicationBuilder UseHmacAuthentication(this IApplicationBuilder builder, Action<HmacAuthenticationOptions> setup = null)

Parameters

builder IApplicationBuilder

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

setup Action<HmacAuthenticationOptions>

The HTTP HmacAuthenticationOptions middleware which may be configured.

Returns

IApplicationBuilder

A reference to builder after the operation has completed.