public class JsonWebToken.Payload
JWT Payload as specified in http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-08#section-4.1.
Derived Types
Namespace
Google.Apis.AuthAssembly
Google.Apis.Auth.dll
Properties
Audience
[JsonProperty("aud")]
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
[JsonIgnore]
public IEnumerable<string> AudienceAsList { get; }
Gets the audience property as a list.
Property Value | |
---|---|
Type | Description |
IEnumerablestring |
ExpirationTimeSeconds
[JsonProperty("exp")]
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
[JsonProperty("iat")]
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
[JsonProperty("iss")]
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
[JsonProperty("jti")]
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
[JsonProperty("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
[JsonProperty("nbf")]
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
[JsonProperty("sub")]
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
[JsonProperty("target_audience")]
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
[JsonProperty("typ")]
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 |