Dela via


OAuthEvents.CreatingTicket(OAuthCreatingTicketContext) Method

Definition

Invoked after the provider successfully authenticates a user.

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

Parameters

context
OAuthCreatingTicketContext

Contains information about the login session as well as the user ClaimsIdentity.

Returns

A Task representing the completed operation.

Implements

Applies to