Show / Hide Table of Contents

Class JsonWebToken.Payload

JWT Payload as specified in http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-08#section-4.1.

Inheritance
object
JsonWebToken.Payload
JsonWebSignature.Payload
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Auth
Assembly: Google.Apis.Auth.dll
Syntax
public class JsonWebToken.Payload

Properties

Audience

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

Declaration
[JsonProperty("aud")]
public object Audience { get; set; }
Property Value
Type Description
object

AudienceAsList

Gets the audience property as a list.

Declaration
[JsonIgnore]
public IEnumerable<string> AudienceAsList { get; }
Property Value
Type Description
IEnumerable<string>

ExpirationTimeSeconds

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.

Declaration
[JsonProperty("exp")]
public long? ExpirationTimeSeconds { get; set; }
Property Value
Type Description
long?

IssuedAtTimeSeconds

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

Declaration
[JsonProperty("iat")]
public long? IssuedAtTimeSeconds { get; set; }
Property Value
Type Description
long?

Issuer

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

Declaration
[JsonProperty("iss")]
public string Issuer { get; set; }
Property Value
Type Description
string

JwtId

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

Declaration
[JsonProperty("jti")]
public string JwtId { get; set; }
Property Value
Type Description
string

Nonce

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.

Declaration
[JsonProperty("nonce")]
public string Nonce { get; set; }
Property Value
Type Description
string

NotBeforeTimeSeconds

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

Declaration
[JsonProperty("nbf")]
public long? NotBeforeTimeSeconds { get; set; }
Property Value
Type Description
long?

Subject

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

Declaration
[JsonProperty("sub")]
public string Subject { get; set; }
Property Value
Type Description
string

TargetAudience

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.

Declaration
[JsonProperty("target_audience")]
public string TargetAudience { get; set; }
Property Value
Type Description
string

Type

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

Declaration
[JsonProperty("typ")]
public string Type { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX