Table of Contents

ApiKeySentinelMiddleware Constructor

Definition

ApiKeySentinelMiddleware(RequestDelegate, IOptions<ApiKeySentinelOptions>)

Initializes a new instance of the ApiKeySentinelMiddleware class.

public ApiKeySentinelMiddleware(RequestDelegate next, IOptions<ApiKeySentinelOptions> setup)

Parameters

next RequestDelegate

The delegate of the request pipeline to invoke.

setup IOptions<ApiKeySentinelOptions>

The UserAgentSentinelOptions which need to be configured.

ApiKeySentinelMiddleware(RequestDelegate, Action<ApiKeySentinelOptions>)

Initializes a new instance of the ApiKeySentinelMiddleware class.

public ApiKeySentinelMiddleware(RequestDelegate next, Action<ApiKeySentinelOptions> setup)

Parameters

next RequestDelegate

The delegate of the request pipeline to invoke.

setup Action<ApiKeySentinelOptions>

The UserAgentSentinelOptions which need to be configured.