C# Класс Tailspin.Surveys.WebAPI.SurveysJwtBearerEvents

This class extends JwtBearerEvents and provides the logic that is executed at various stages when the Jwt Bearer token is validated.
Наследование: Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerEvents
Показать файл Открыть проект

Открытые методы

Метод Описание
AuthenticationFailed ( Microsoft.AspNetCore.Authentication.JwtBearer.AuthenticationFailedContext context ) : System.Threading.Tasks.Task
MessageReceived ( Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext context ) : System.Threading.Tasks.Task
SurveysJwtBearerEvents ( ILogger logger ) : System.Linq
TokenValidated ( Microsoft.AspNetCore.Authentication.JwtBearer.TokenValidatedContext context ) : System.Threading.Tasks.Task

This method contains the logic that validates the user's tenant and normalizes claims.

Описание методов

AuthenticationFailed() публичный Метод

public AuthenticationFailed ( Microsoft.AspNetCore.Authentication.JwtBearer.AuthenticationFailedContext context ) : System.Threading.Tasks.Task
context Microsoft.AspNetCore.Authentication.JwtBearer.AuthenticationFailedContext
Результат System.Threading.Tasks.Task

MessageReceived() публичный Метод

public MessageReceived ( Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext context ) : System.Threading.Tasks.Task
context Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext
Результат System.Threading.Tasks.Task

SurveysJwtBearerEvents() публичный Метод

public SurveysJwtBearerEvents ( ILogger logger ) : System.Linq
logger ILogger
Результат System.Linq

TokenValidated() публичный Метод

This method contains the logic that validates the user's tenant and normalizes claims.
public TokenValidated ( Microsoft.AspNetCore.Authentication.JwtBearer.TokenValidatedContext context ) : System.Threading.Tasks.Task
context Microsoft.AspNetCore.Authentication.JwtBearer.TokenValidatedContext The validated token context
Результат System.Threading.Tasks.Task