Aydsko iRacing Data API
Show / Hide Table of Contents

Class OAuthTokenValue

An authentication token value and the instant it is due to expire.

Inheritance
object
OAuthTokenValue
Implements
IEquatable<OAuthTokenValue>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX