Table of Contents

Class OAuthAuthorizationRequest

Namespace
PanasonicComfortCloudClient.Authentication
Assembly
PanasonicComfortCloudClient.dll

Contains the application-owned context for one OAuth PKCE authorization attempt.

public sealed class OAuthAuthorizationRequest
Inheritance
OAuthAuthorizationRequest
Inherited Members

Properties

AuthorizationUri

Gets the Panasonic login URL to present in a browser.

public Uri AuthorizationUri { get; init; }

Property Value

Uri

The authorization URI, including the random state and PKCE challenge.

CodeVerifier

Gets the PKCE verifier.

public string CodeVerifier { get; init; }

Property Value

string

A secret verifier to retain securely until the callback is exchanged.

ExpiresAt

Gets the context expiration.

public DateTimeOffset ExpiresAt { get; init; }

Property Value

DateTimeOffset

The latest UTC instant at which the callback may be used.

State

Gets the callback correlation state.

public string State { get; init; }

Property Value

string

The unpredictable state that must match the browser callback.

Methods

ToString()

Returns a description without the verifier or state.

public override string ToString()

Returns

string

A description containing only the authorization expiration.