MessageReceivedContext Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.