Share via


AuthResponse Class

Definition

A class that provides the response of an authorization request described by the section section 4.1.2 and 4.2.2 of RFC 6749.

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

Properties

AccessToken

Derived from the access_token parameter of the authorization response. This value is available when ResponseType in AuthRequestParams is set as token.

AdditionalParams

Additional parameters set by the authorization server in the response URI.

Code

Derived from the code parameter of the authorization response.

ExpiresIn

Derived from the expires_in parameter of the authorization response. It's the lifetime of access token in seconds. This is available when ResponseType in AuthRequestParams is set as token.

Scope

Derived from the scope parameter of the authorization response. This is available when ResponseType in AuthRequestParams is set as token.

State

Derived from the state parameter of the authorization response.

TokenType

Derived from the token_type parameter of the authorization response. This is available when ResponseType in AuthRequestParams is set as token.

Applies to