Table of Contents

Class AccessTokenResponse

Namespace
Auth0.AuthenticationApi.Models
Assembly
Auth0.AuthenticationApi.dll

Represents an access token response.

public class AccessTokenResponse : TokenBase
Inheritance
AccessTokenResponse
Derived
Inherited Members
Extension Methods

Properties

ExpiresIn

Expiration time in seconds.

[JsonPropertyName("expires_in")]
public int ExpiresIn { get; set; }

Property Value

int

Headers

public IDictionary<string, IEnumerable<string>> Headers { get; set; }

Property Value

IDictionary<string, IEnumerable<string>>

IdToken

Identifier token.

[JsonPropertyName("id_token")]
public string IdToken { get; set; }

Property Value

string

IssuedTokenType

The type of the token issued, as a URN.

[JsonPropertyName("issued_token_type")]
public string IssuedTokenType { get; set; }

Property Value

string

Remarks

Returned by the token-exchange grant to indicate which kind of token was issued — for example AccessToken for a normal access token, or SessionTransferToken for an Auth0 Session Transfer Token. Null for flows that do not return this field.

RefreshToken

Refresh token.

[JsonPropertyName("refresh_token")]
public string RefreshToken { get; set; }

Property Value

string

Scope

The scopes that were actually granted for this token.

[JsonPropertyName("scope")]
public string Scope { get; set; }

Property Value

string

Remarks

The authorization server returns the granted scope, which may be narrower than the scope that was requested. Compare this against the requested scope to detect an insufficient-scope grant.