Class OAuthTokenValue
An authentication token value and the instant it is due to expire.
Implements
Inherited Members
Namespace: Aydsko.iRacingData
Assembly: Aydsko.iRacingData.dll
Syntax
public record OAuthTokenValue : IEquatable<OAuthTokenValue>
Constructors
OAuthTokenValue(string, DateTimeOffset)
An authentication token value and the instant it is due to expire.
Declaration
public OAuthTokenValue(string AccessToken, DateTimeOffset ExpiresAt)
Parameters
| Type | Name | Description |
|---|---|---|
| string | AccessToken | An iRacing OAuth Access Token suitable for calling the API. |
| DateTimeOffset | ExpiresAt | The instant the token is due to expire. |
Properties
AccessToken
An iRacing OAuth Access Token suitable for calling the API.
Declaration
public string AccessToken { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
ExpiresAt
The instant the token is due to expire.
Declaration
public DateTimeOffset ExpiresAt { get; init; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset |