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

Allows customization of validation handling within the middleware.
Afficher le fichier Open project: aspnet-contrib/AspNet.Security.OAuth.Extensions Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

RetrieveToken() public méthode

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

ValidateToken() public méthode

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