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 Duende.​IdentityServer.​Extensions.​AuthenticationTicketExtensions

Assembly: Duende.IdentityServer

Inheritance: object → AuthenticationTicketExtensions

Extension methods for AuthenticationTicket

Methods

public static string
GetSubjectId​(Microsoft.​AspNetCore.​Authentication.​AuthenticationTicket ticket)
Extracts a subject identifier
public static string
GetSessionId​(Microsoft.​AspNetCore.​Authentication.​AuthenticationTicket ticket)
Extracts the session ID
public static string
GetDisplayName​(Microsoft.​AspNetCore.​Authentication.​AuthenticationTicket ticket, string displayNameClaimType)
Extracts the display name
public static string
GetIssuer​(Microsoft.​AspNetCore.​Authentication.​AuthenticationTicket ticket)
Gets the issuer
public static void
SetIssuer​(Microsoft.​AspNetCore.​Authentication.​AuthenticationTicket ticket, string issuer)
Sets a issuer
public static System.​DateTime
GetIssued​(Microsoft.​AspNetCore.​Authentication.​AuthenticationTicket ticket)
Extracts the issuance time
public static System.​DateTime?
GetExpiration​(Microsoft.​AspNetCore.​Authentication.​AuthenticationTicket ticket)
Extracts the expiration time
public static string
Serialize​(Microsoft.​AspNetCore.​Authentication.​AuthenticationTicket ticket, Microsoft.​AspNetCore.​DataProtection.​IDataProtector protector)
Serializes and AuthenticationTicket to a string
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object