Table of Contents

Class DeviceToken

Namespace
TorBoxSDK.Models.User
Assembly
TorBoxSDK.dll

Represents the response from exchanging a device code for an access token.

public sealed record DeviceToken : IEquatable<DeviceToken>
Inheritance
DeviceToken
Implements
Inherited Members

Properties

AccessToken

Gets the access token, or null if not available.

[JsonPropertyName("access_token")]
public string? AccessToken { get; init; }

Property Value

string

TokenType

Gets the token type (usually Bearer), or null if not available.

[JsonPropertyName("token_type")]
public string? TokenType { get; init; }

Property Value

string