Class JsonWebToken.Payload (1.50.0)

public class Payload : object

Inheritance

Object > JsonWebToken.Payload

Derived Types

Namespace

Google.Apis.Auth

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
TypeDescription
Object

AudienceAsList

public IEnumerable<string> AudienceAsList { get; }

Gets the audience property as a list.

Property Value
TypeDescription
IEnumerable<String>

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
TypeDescription
Nullable<Int64>

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
TypeDescription
Nullable<Int64>

Issuer

public string Issuer { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Nullable<Int64>

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
TypeDescription
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
TypeDescription
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
TypeDescription
String

Extension Method