Udostępnij za pośrednictwem


MessageReceivedContext Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy 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)

Parametry

context
HttpContext

Kontekst.

scheme
AuthenticationScheme

Schemat uwierzytelniania.

options
BearerTokenOptions

Opcje uwierzytelniania skojarzone ze schematem.

Dotyczy