Re-exports§
pub use token::Token;
Modules§
Structs§
- Access
Token - Public credential result; deliberately excludes the refresh token.
- Auth
Client - Provider-neutral check-lock-check authentication and persistent token lifecycle.
- Auth
Options - Shared lifecycle configuration embedded by every provider’s binding options.
- File
Store - Foreign
Store - Memory
Store - OAuth
Config - OAuth
Flow - OAuth
Template - Branding and content renderer for the browser OAuth callback.
- OAuth
Template Context - Values displayed by the browser OAuth callback.
- Provider
Auth - Generic OAuth provider using the shared persistent credential lifecycle.
- Provider
Options - Provider-specific OAuth identity, endpoints, storage, and shared lifecycle options.
- Storage
Handle - Keeps storage callbacks in the native library that owns their converters.
- UniFfi
Trait Vtable Storage Adapter
Enums§
- Auth
Error - Error
- File
Layout - OAuth
Grant - OAuth grant used to acquire and renew credentials.
- Storage
Traits§
- Auth
Session - A provider wrapper that inherits the canonical credential lifecycle.
- Credential
Store - Credential persistence with exclusive refresh coordination.
- Storage
Adapter - Foreign-language persistence contract; implement every method in Node or Python.
- Storage
Lock - Exclusive refresh lease; RAII locks can use the default consuming release.
- Token
Provider - Provider-specific acquisition; persistence and locking belong to
AuthClient.
Functions§
- canonical_
scopes - Trim, sort, and deduplicate scopes for requests and credential identities.
- create_
provider_ auth - Construct a provider with built-in persistent storage and shared lifecycle defaults.
- create_
provider_ auth_ with_ storage - Construct a provider from the same owning-library storage handle used by Databricks auth.
- create_
storage_ handle - Wrap custom storage before passing it into another provider’s native library.
- credential_
key - Derive a stable provider/profile/scope-set identity without storing raw scopes in the key.
- default_
callback_ image_ src - Build the default callback logo as an embedded SVG data URI.
- open_
store - uniffi_
dbx_ tools_ auth_ fn_ init_ callback_ vtable_ storageadapter