Share via


IOAuthEvents.CreatingTicket(OAuthCreatingTicketContext) Method

Definition

Invoked after the provider successfully authenticates a user. This can be used to retrieve user information. This event may not be invoked by sub-classes of OAuthAuthenticationHandler if they override CreateTicketAsync.

public:
 System::Threading::Tasks::Task ^ CreatingTicket(Microsoft::AspNetCore::Authentication::OAuth::OAuthCreatingTicketContext ^ context);
public System.Threading.Tasks.Task CreatingTicket (Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext context);
abstract member CreatingTicket : Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext -> System.Threading.Tasks.Task
Public Function CreatingTicket (context As OAuthCreatingTicketContext) As Task

Parameters

context
OAuthCreatingTicketContext

Contains information about the login session.

Returns

A Task representing the completed operation.

Applies to