Table of Contents

HmacAuthenticationMiddleware Constructor

Definition

HmacAuthenticationMiddleware(RequestDelegate, IOptions<HmacAuthenticationOptions>)

Initializes a new instance of the HmacAuthenticationMiddleware class.

public HmacAuthenticationMiddleware(RequestDelegate next, IOptions<HmacAuthenticationOptions> setup)

Parameters

next RequestDelegate

The delegate of the request pipeline to invoke.

setup IOptions<HmacAuthenticationOptions>

The HmacAuthenticationOptions which need to be configured.

HmacAuthenticationMiddleware(RequestDelegate, Action<HmacAuthenticationOptions>)

Initializes a new instance of the HmacAuthenticationMiddleware class.

public HmacAuthenticationMiddleware(RequestDelegate next, Action<HmacAuthenticationOptions> setup)

Parameters

next RequestDelegate

The delegate of the request pipeline to invoke.

setup Action<HmacAuthenticationOptions>

The middleware HmacAuthenticationOptions which need to be configured.