IOAuthEvents.CreatingTicket(OAuthCreatingTicketContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.