Class HmacAuthenticationBuilderExtension
This is a factory implementation of the HmacAuthenticationMiddleware class.
Inheritance
System.Object
HmacAuthenticationBuilderExtension
Namespace: Cuemon.AspNetCore.Authentication
Assembly: Cuemon.AspNetCore.Authentication.dll
Syntax
public static class HmacAuthenticationBuilderExtension
Methods
| Improve this DocUseHmacAuthentication(IApplicationBuilder, Action<HmacAuthenticationOptions>)
Adds a HTTP HMAC Authentication scheme to the Microsoft.AspNetCore.Builder.IApplicationBuilder request execution pipeline.
Declaration
public static IApplicationBuilder UseHmacAuthentication(this IApplicationBuilder builder, Action<HmacAuthenticationOptions> 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<HmacAuthenticationOptions> | setup | The HTTP HmacAuthenticationOptions middleware which need to be configured. |
Returns
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Builder.IApplicationBuilder | A reference to this instance after the operation has completed. |