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.AspNet.Authentication.JwtBearer.JwtBearerEvents
Показать файл Открыть проект

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

Метод Описание
AuthenticationFailed ( Microsoft.AspNet.Authentication.JwtBearer.AuthenticationFailedContext context ) : System.Threading.Tasks.Task
ReceivedToken ( Microsoft.AspNet.Authentication.JwtBearer.ReceivedTokenContext context ) : System.Threading.Tasks.Task
ReceivingToken ( Microsoft.AspNet.Authentication.JwtBearer.ReceivingTokenContext context ) : System.Threading.Tasks.Task
SurveysJwtBearerEvents ( ILogger logger ) : System.IdentityModel.Tokens
ValidatedToken ( Microsoft.AspNet.Authentication.JwtBearer.ValidatedTokenContext context ) : System.Threading.Tasks.Task

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

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

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

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

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

public ReceivedToken ( Microsoft.AspNet.Authentication.JwtBearer.ReceivedTokenContext context ) : System.Threading.Tasks.Task
context Microsoft.AspNet.Authentication.JwtBearer.ReceivedTokenContext
Результат System.Threading.Tasks.Task

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

public ReceivingToken ( Microsoft.AspNet.Authentication.JwtBearer.ReceivingTokenContext context ) : System.Threading.Tasks.Task
context Microsoft.AspNet.Authentication.JwtBearer.ReceivingTokenContext
Результат System.Threading.Tasks.Task

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

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

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

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