OAuthTokens
public struct OAuthTokens
Authentication information for an OAuth authentication
Since
1.2.0-
The OAuth access token, used throughout the SDK for authentication
Since
1.2.0Declaration
Swift
public let accessToken: String
-
The date and time at which the access token will expire
Since
1.2.0Declaration
Swift
public let accessTokenExpirationDate: Date
-
The OAuth refresh token, used to obtain a new access token
Since
1.2.0Declaration
Swift
public let refreshToken: String
-
The date and time at which the refresh token will expire. This will itself refresh every time the refresh token is used.
Since
1.2.0Declaration
Swift
public let refreshTokenExpirationDate: Date