C# Class AspNet.Security.OAuth.Validation.OAuthValidationEvents

Allows customization of validation 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.

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

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