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
파일 보기 프로젝트 열기: mspnp/multitenant-saas-guidance

공개 메소드들

메소드 설명
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