Table of Contents

Class TokenResponse

Namespace
Duende.IdentityServer.ResponseHandling
Assembly
Duende.IdentityServer.dll

Models a token response

public class TokenResponse
Inheritance
TokenResponse
Inherited Members

Constructors

TokenResponse()

public TokenResponse()

Properties

AccessToken

Gets or sets the access token.

public string AccessToken { get; set; }

Property Value

string

The access token.

AccessTokenLifetime

Gets or sets the access token lifetime in seconds.

public int AccessTokenLifetime { get; set; }

Property Value

int

The access token lifetime in seconds.

AccessTokenType

The type of access token, used to populate the token_type response parameter.

public string AccessTokenType { get; set; }

Property Value

string

Custom

Gets or sets the custom entries.

public Dictionary<string, object> Custom { get; set; }

Property Value

Dictionary<string, object>

The custom entries.

DPoPNonce

The DPoP nonce header to emit.

public string? DPoPNonce { get; set; }

Property Value

string

IdentityToken

Gets or sets the identity token.

public string? IdentityToken { get; set; }

Property Value

string

The identity token.

RefreshToken

Gets or sets the refresh token.

public string? RefreshToken { get; set; }

Property Value

string

The refresh token.

Scope

Gets or sets the scope.

public string Scope { get; set; }

Property Value

string

The scope.