Class JsonWebToken.Payload
JWT Payload as specified in http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-08#section-4.1.
Inherited Members
Namespace: Google.Apis.Auth
Assembly: Google.Apis.Auth.dll
Syntax
public class 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 |
---|---|
System.Object |
AudienceAsList
Gets the audience property as a list.
Declaration
[JsonIgnore]
public IEnumerable<string> AudienceAsList { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.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 |
---|---|
System.Nullable<System.Int64> |
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 |
---|---|
System.Nullable<System.Int64> |
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 |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.Nullable<System.Int64> |
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 |
---|---|
System.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 |
---|---|
System.String |