Class OAuthRegisterRequest
- Namespace
- TorBoxSDK.Models.Integrations
- Assembly
- TorBoxSDK.dll
Represents a request to register an OAuth integration with a provider.
public sealed record OAuthRegisterRequest : IEquatable<OAuthRegisterRequest>
- Inheritance
-
OAuthRegisterRequest
- Implements
- Inherited Members
Properties
Provider
Gets the OAuth provider name (e.g., "google", "dropbox"). This property is used in the endpoint URL path and is not serialized in the request body.
[JsonIgnore]
public string Provider { get; init; }
Property Value
RefreshToken
Gets the OAuth refresh token for the provider.
[JsonPropertyName("refresh_token")]
public string RefreshToken { get; init; }
Property Value
Token
Gets the OAuth access token for the provider.
[JsonPropertyName("token")]
public string Token { get; init; }