Package-level declarations
Types
Link copied to clipboard
class BearerTokenPluginConfig
Configuration for the BearerTokenPlugin.
Link copied to clipboard
Cross-platform credential interface providing token management operations.
Link copied to clipboard
Default cross-platform immutable implementation of Credential.
Link copied to clipboard
interface DefaultCredentialIdStore
Platform-agnostic abstraction for storing the default credential ID.
Link copied to clipboard
data class EncryptionResult(val ciphertext: ByteArray, val encryptionExtras: Map<String, String> = emptyMap())
Result of an encryption operation, containing the ciphertext and optional platform-specific extras.
Link copied to clipboard
class JceTokenEncryptionHandler(keyProvider: () -> SecretKey = ::defaultKeyProvider) : TokenEncryptionHandler
JVM-based AES-256-GCM token encryption handler for KMP apps.
Link copied to clipboard
No-op TokenEncryptionHandler that stores tokens in plaintext.
Link copied to clipboard
class TokenCredentialManager(val client: OAuth2Client, storage: TokenStorage, val defaultIdStore: DefaultCredentialIdStore)
Cross-platform credential manager providing CRUD operations for credentials.
Link copied to clipboard
class TokenData(val id: String, val tokenType: String, val expiresIn: Int, val accessToken: String, val scope: String?, val refreshToken: String?, val idToken: String?, val deviceSecret: String?, val issuedTokenType: String?, val configuration: OAuth2ClientConfiguration, val issuedAt: Long = configuration.clock.currentTimeEpochSecond() - expiresIn) : TokenInfo
Default cross-platform implementation of TokenInfo.
Link copied to clipboard
interface TokenEncryptionHandler
Platform-agnostic interface for encrypting and decrypting token data.
Link copied to clipboard
interface TokenStorage
Platform-agnostic abstraction for persisting and retrieving OAuth2 tokens.