Share via


TokenResponse Class

Definition

A class that provides the response of a token request. This is described by sections 4.1.4 and 4.2.2 of RFC 6749.

public ref class TokenResponse sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Security.Authentication.OAuth.OAuthContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class TokenResponse final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Security.Authentication.OAuth.OAuthContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class TokenResponse
Public NotInheritable Class TokenResponse
Inheritance
Object Platform::Object IInspectable TokenResponse
Attributes

Properties

AccessToken

Provides the access_token parameter of the token response.

AdditionalParams

Provides additional parameters set by the authorization server in the response URI.

ExpiresIn

Derived from the expires_in parameter of the token response. It's the lifetime of access token in seconds.

RefreshToken

Provides the refresh_token parameter of the token response.

Scope

Provides the scope parameter of the token response.

TokenType

Provides the token_type parameter of the token response.

Applies to