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

Allows customization of introspection handling within the middleware.
Show file Open project: aspnet-contrib/AspNet.Security.OAuth.Extensions Class Usage Examples

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 ) : Task

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

RetrieveToken ( RetrieveTokenContext context ) : Task

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

ValidateToken ( ValidateTokenContext context ) : 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 ) : Task
context RequestTokenIntrospectionContext
return Task

RetrieveToken() public method

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

ValidateToken() public method

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