C# Class JetBrains.Owin.Security.JetPass.JetPassAuthenticationProvider

Default IJetPassAuthenticationProvider implementation.
Inheritance: IJetPassAuthenticationProvider
Show file Open project: JetBrains/JetPass

Public Methods

Method Description
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.

Method Details

ApplyRedirect() public method

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
return void

Authenticated() public method

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 .
return System.Threading.Tasks.Task

JetPassAuthenticationProvider() public method

Initializes a JetPassAuthenticationProvider
public JetPassAuthenticationProvider ( ) : System
return System

ReturnEndpoint() public method

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.
return System.Threading.Tasks.Task