C# Class Owin.Security.OAuth.Introspection.OAuthIntrospectionEvents

Allows customization of introspection handling within the middleware.
Mostrar archivo Open project: aspnet-contrib/AspNet.Security.OAuth.Extensions

Public Methods

Method Description
CreateTicket ( CreateTicketContext context ) : System.Threading.Tasks.Task

Invoked when a ticket is to be created from an introspection response.

RequestTokenIntrospection ( RequestTokenIntrospectionContext context ) : System.Threading.Tasks.Task

Invoked when a token is to be sent to the authorization server for introspection.

RetrieveToken ( RetrieveTokenContext context ) : System.Threading.Tasks.Task

Invoked when a token is to be parsed from a newly-received request.

ValidateToken ( ValidateTokenContext context ) : System.Threading.Tasks.Task

Invoked when a token is to be validated, before final processing.

Method Details

CreateTicket() public method

Invoked when a ticket is to be created from an introspection response.
public CreateTicket ( CreateTicketContext context ) : System.Threading.Tasks.Task
context CreateTicketContext
return System.Threading.Tasks.Task

RequestTokenIntrospection() public method

Invoked when a token is to be sent to the authorization server for introspection.
public RequestTokenIntrospection ( RequestTokenIntrospectionContext context ) : System.Threading.Tasks.Task
context RequestTokenIntrospectionContext
return System.Threading.Tasks.Task

RetrieveToken() public method

Invoked when a token is to be parsed from a newly-received request.
public RetrieveToken ( RetrieveTokenContext context ) : System.Threading.Tasks.Task
context RetrieveTokenContext
return System.Threading.Tasks.Task

ValidateToken() public method

Invoked when a token is to be validated, before final processing.
public ValidateToken ( ValidateTokenContext context ) : System.Threading.Tasks.Task
context ValidateTokenContext
return System.Threading.Tasks.Task