Tokens

sealed interface Tokens

Inheritors

Types

Link copied to clipboard
data class Bearer(val auth: String, val refresh: String) : BlueskyAuthPlugin.Tokens

Represents a set of authentication bearer tokens used for accessing the Bluesky API. These are typically acquired by logging into Bluesky using a username and password combination.

Link copied to clipboard
object Companion
Link copied to clipboard
data class Dpop(val auth: String, val refresh: String, val pdsUrl: Url, val keyPair: DpopKeyPair, val clientId: String, val nonce: String) : BlueskyAuthPlugin.Tokens

Represents a set of DPoP authentication tokens used for accessing the Bluesky API. These are typically acquired by authenticating with an OAuth client against the Bluesky OAuth server. Network requests using DPoP will be automatically rerouted directly to the PDS.