Share via


MessageReceivedContext Constructor

Definition

Initializes a new instance of MessageReceivedContext.

public MessageReceivedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions options);
new Microsoft.AspNetCore.Authentication.BearerToken.MessageReceivedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions -> Microsoft.AspNetCore.Authentication.BearerToken.MessageReceivedContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As BearerTokenOptions)

Parameters

context
HttpContext

The context.

scheme
AuthenticationScheme

The authentication scheme.

options
BearerTokenOptions

The authentication options associated with the scheme.

Applies to