ConnectVirtualPresenceWithRefreshTokenInput

data class ConnectVirtualPresenceWithRefreshTokenInput(val refreshToken: String, val providerIdentity: String, val scopes: List<String>? = null, val expiresInEpochMs: Double? = null, val relationshipProvider: RelationshipProvider? = null, val expiresAtEpochMs: Double? = null)

Input object containing the properties required to connect a virtual presence using a pre-obtained refresh token.

Constructors

constructor(refreshToken: String, providerIdentity: String, scopes: List<String>? = null, expiresInEpochMs: Double? = null, relationshipProvider: RelationshipProvider? = null, expiresAtEpochMs: Double? = null)

Properties

Link copied to clipboard

Double Optional absolute expiry of the credential, in milliseconds since the Unix epoch. Takes precedence over expiresInEpochMs when both are provided. Defaults to one year after the request when neither is provided.

Link copied to clipboard

Double Optional relative expiry: the number of milliseconds after the request at which the credential expires. Ignored when expiresAtEpochMs is provided.

Link copied to clipboard

String The identity associated with the provider.

Link copied to clipboard

String The refresh token value.

Link copied to clipboard

RelationshipProvider The relationship provider to associate with the connection.

Link copied to clipboard
val scopes: List<String>? = null

List Optional OAuth scopes associated with the token.