Credentials

sealed class Credentials

The structure containing the session token being returned.

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
data class Token(val value: String) : Credentials

The actual session token being returned.

Functions

Link copied to clipboard

Casts this Credentials as a Token and retrieves its kotlin.String value. Throws an exception if the Credentials is not a Token.

Link copied to clipboard

Casts this Credentials as a Token and retrieves its kotlin.String value. Returns null if the Credentials is not a Token.