Table of Contents

InvokeApiKeySentinelAsync Method

Definition

InvokeApiKeySentinelAsync(IDecorator<HttpContext>, ApiKeySentinelOptions)

Common API key logic for ASP.NET Core and ASP.NET Core MVC. Not intended to be used directly from your code.

public static Task InvokeApiKeySentinelAsync(this IDecorator<HttpContext> decorator, ApiKeySentinelOptions options)

Parameters

decorator IDecorator<HttpContext>

The IDecorator<T> to extend.

options ApiKeySentinelOptions

The configured options.

Returns

Task