Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​AspNetCore.​Authentication.​AuthenticationTicket
Assembly: Microsoft.AspNetCore.Authentication.Abstractions
Inheritance: object → AuthenticationTicket
Contains user identity information as well as additional authentication state.
Properties
public
string
AuthenticationScheme
Gets the authentication scheme that was responsible for this ticket.
Principal
Gets the claims-principal with authenticated user identities.
public
AuthenticationProperties
Properties
Additional state values for the authentication session.
Methods
Returns A copy of the ticket
Remarks
The method clones the <see cref="P:Microsoft.AspNetCore.Authentication.AuthenticationTicket.Principal" /> by calling <see cref="M:System.Security.Claims.ClaimsIdentity.Clone" /> on each of the <see cref="P:System.Security.Claims.ClaimsPrincipal.Identities" /> .
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object