Package-level declarations

Types

Link copied to clipboard

Thrown when fetching a Credential with Biometric security using a synchronous Credential function. Biometric Credentials should only be fetched using Async functions in Credential.

Link copied to clipboard

Convenience object that wraps a Token, providing methods and properties for interacting with credential resources.

Link copied to clipboard
Link copied to clipboard

Minimal identity contract for credentials.

Link copied to clipboard
class DefaultTokenEncryptionHandler(keyStore: KeyStore = AndroidKeystoreUtil.keyStore, keyPairGenerator: KeyPairGenerator = AndroidKeystoreUtil.getRsaKeyPairGenerator()) : TokenEncryptionHandler
Link copied to clipboard

Legacy interface used to customize the way tokens are stored, updated, and removed throughout the lifecycle of an application. See TokenStorage for the current version.

Link copied to clipboard

The exception in OAuth2ClientResult.Error when a call to Credential.revokeAllTokens fails.

Link copied to clipboard

The possible token types that can be revoked.

Link copied to clipboard
class RoomTokenStorage(tokenDatabase: TokenDatabase, tokenEncryptionHandler: TokenEncryptionHandler) : TokenStorage
Link copied to clipboard
@Serializable
class Token : TokenInfo

Token information representing a user's access to a resource server, including access token, refresh token, and other related information.

Link copied to clipboard
Link copied to clipboard

Interface for defining how Tokens are encrypted before storing in RoomTokenStorage, the default implementation of TokenStorage.

Link copied to clipboard
data class TokenMetadata(val id: String, val tags: Map<String, String>, val payloadData: ERROR CLASS: Symbol not found for JsonObject??, val json: ERROR CLASS: Symbol not found for Json = Json { ignoreUnknownKeys = true })

Non-sensitive information about a token to be used in storage.

Link copied to clipboard
interface TokenStorage

Interface used to customize the way tokens are stored, updated, and removed throughout the lifecycle of an application.

Link copied to clipboard

The type of token an operation should be used with.