UserToken

data class UserToken(val value: String) : UserIdentifier

The OAuth2.0 token issued by the user’s identity provider

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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