C# Класс JetBrains.Owin.Security.JetPass.JetPassAuthenticationProvider

Default IJetPassAuthenticationProvider implementation.
Наследование: IJetPassAuthenticationProvider
Показать файл Открыть проект

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

Метод Описание
ApplyRedirect ( JetPassApplyRedirectContext context ) : void

Called when a Challenge causes a redirect to authorize endpoint in the JetPass OAuth 2.0 middleware

Authenticated ( JetPassAuthenticatedContext context ) : System.Threading.Tasks.Task

Invoked whenever JetPass successfully authenticates a user

JetPassAuthenticationProvider ( ) : System

Initializes a JetPassAuthenticationProvider

ReturnEndpoint ( JetPassReturnEndpointContext context ) : System.Threading.Tasks.Task

Invoked prior to the System.Security.Claims.ClaimsIdentity being saved in a local cookie and the browser being redirected to the originally requested URL.

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

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

Called when a Challenge causes a redirect to authorize endpoint in the JetPass OAuth 2.0 middleware
public ApplyRedirect ( JetPassApplyRedirectContext context ) : void
context JetPassApplyRedirectContext Contains redirect URI and of the challenge
Результат void

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

Invoked whenever JetPass successfully authenticates a user
public Authenticated ( JetPassAuthenticatedContext context ) : System.Threading.Tasks.Task
context JetPassAuthenticatedContext Contains information about the login session as well as the user .
Результат System.Threading.Tasks.Task

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

Initializes a JetPassAuthenticationProvider
public JetPassAuthenticationProvider ( ) : System
Результат System

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

Invoked prior to the System.Security.Claims.ClaimsIdentity being saved in a local cookie and the browser being redirected to the originally requested URL.
public ReturnEndpoint ( JetPassReturnEndpointContext context ) : System.Threading.Tasks.Task
context JetPassReturnEndpointContext Contains context information and authentication ticket of the return endpoint.
Результат System.Threading.Tasks.Task