Class JsonWebToken.Payload (1.60.0)

public class JsonWebToken.Payload

Inheritance

object > JsonWebToken.Payload

Derived Types

Namespace

GoogleApisAuth

Assembly

Google.Apis.Auth.dll

Properties

Audience

public object Audience { get; set; }

Gets or sets audience claim that identifies the audience that the JWT is intended for (should either be a string or list) or null.

Property Value
Type Description
object

AudienceAsList

public IEnumerable<string> AudienceAsList { get; }

Gets the audience property as a list.

Property Value
Type Description
IEnumerablestring

ExpirationTimeSeconds

public long? ExpirationTimeSeconds { get; set; }

Gets or sets expiration time claim that identifies the expiration time (in seconds) on or after which the token MUST NOT be accepted for processing or null.

Property Value
Type Description
long

IssuedAtTimeSeconds

public long? IssuedAtTimeSeconds { get; set; }

Gets or sets issued at claim that identifies the time (in seconds) at which the JWT was issued or null.

Property Value
Type Description
long

Issuer

public string Issuer { get; set; }

Gets or sets issuer claim that identifies the principal that issued the JWT or null.

Property Value
Type Description
string

JwtId

public string JwtId { get; set; }

Gets or sets JWT ID claim that provides a unique identifier for the JWT or null.

Property Value
Type Description
string

Nonce

public string Nonce { get; set; }

The nonce value specified by the client during the authorization request. Must be present if a nonce was specified in the authorization request, otherwise this will not be present.

Property Value
Type Description
string

NotBeforeTimeSeconds

public long? NotBeforeTimeSeconds { get; set; }

Gets or sets not before claim that identifies the time (in seconds) before which the token MUST NOT be accepted for processing or null.

Property Value
Type Description
long

Subject

public string Subject { get; set; }

Gets or sets subject claim identifying the principal that is the subject of the JWT or null.

Property Value
Type Description
string

TargetAudience

public string TargetAudience { get; set; }

Gets or sets the target audience claim that identifies the audience that an OIDC token generated from this JWT is intended for. Maybe be null. Multiple target audiences are not supported. null.

Property Value
Type Description
string

Type

public string Type { get; set; }

Gets or sets type claim that is used to declare a type for the contents of this JWT Claims Set or null.

Property Value
Type Description
string

Extension Method