AuthenticationTicket.Clone Method

Definition

Returns a copy of the ticket.

public:
 Microsoft::AspNetCore::Authentication::AuthenticationTicket ^ Clone();
public Microsoft.AspNetCore.Authentication.AuthenticationTicket Clone ();
member this.Clone : unit -> Microsoft.AspNetCore.Authentication.AuthenticationTicket
Public Function Clone () As AuthenticationTicket

Returns

A copy of the ticket

Remarks

The method clones the Principal by calling Clone() on each of the Identities.

Applies to