Class JwtClaims
Validated claims extracted from a token.
public sealed record JwtClaims : IEquatable<JwtClaims>
- Inheritance
-
JwtClaims
- Implements
- Inherited Members
Properties
Audience
public string? Audience { get; init; }
Property Value
CertificateThumbprint
Certificate binding thumbprint (cnf."x5t#S256"), present on access tokens.
public string? CertificateThumbprint { get; init; }
Property Value
DisplayName
The best available display name: the top-level username, else the profile username.
public string? DisplayName { get; }
Property Value
ExpiresAt
public DateTimeOffset? ExpiresAt { get; init; }
Property Value
Issuer
public string? Issuer { get; init; }
Property Value
ProfileUsername
Nested "profile".username claim (present on identity tokens).
public string? ProfileUsername { get; init; }
Property Value
Scope
public string? Scope { get; init; }
Property Value
Subject
Subject (the player/session UUID).
public required string Subject { get; init; }
Property Value
Username
Top-level "username" claim (present on access tokens).
public string? Username { get; init; }