Dela via


TokenValidatedContext Constructors

Definition

Overloads

TokenValidatedContext(HttpContext, JwtBearerOptions)
TokenValidatedContext(HttpContext, AuthenticationScheme, JwtBearerOptions)

Initializes a new instance of TokenValidatedContext.

TokenValidatedContext(HttpContext, JwtBearerOptions)

public:
 TokenValidatedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::JwtBearerOptions ^ options);
public TokenValidatedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.JwtBearerOptions options);
new Microsoft.AspNetCore.Authentication.JwtBearer.TokenValidatedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.JwtBearerOptions -> Microsoft.AspNetCore.Authentication.JwtBearer.TokenValidatedContext
Public Sub New (context As HttpContext, options As JwtBearerOptions)

Parameters

context
HttpContext

Applies to

TokenValidatedContext(HttpContext, AuthenticationScheme, JwtBearerOptions)

Source:
TokenValidatedContext.cs
Source:
TokenValidatedContext.cs
Source:
TokenValidatedContext.cs
Source:
TokenValidatedContext.cs
Source:
TokenValidatedContext.cs
Source:
TokenValidatedContext.cs
Source:
TokenValidatedContext.cs
Source:
TokenValidatedContext.cs
Source:
TokenValidatedContext.cs

Initializes a new instance of TokenValidatedContext.

public:
 TokenValidatedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerOptions ^ options);
public TokenValidatedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions options);
new Microsoft.AspNetCore.Authentication.JwtBearer.TokenValidatedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions -> Microsoft.AspNetCore.Authentication.JwtBearer.TokenValidatedContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As JwtBearerOptions)

Parameters

context
HttpContext

The context.

scheme
AuthenticationScheme

The authentication scheme.

options
JwtBearerOptions

The authentication options associated with the scheme.

Applies to