Skip to main content

Crate dbx_tools_auth

Crate dbx_tools_auth 

Source

Re-exports§

pub use token::Token;

Modules§

token

Structs§

AccessToken
Public credential result; deliberately excludes the refresh token.
AuthClient
Provider-neutral check-lock-check authentication and persistent token lifecycle.
AuthOptions
Shared lifecycle configuration embedded by every provider’s binding options.
FileStore
ForeignStore
MemoryStore
OAuthConfig
OAuthFlow
OAuthTemplate
Branding and content renderer for the browser OAuth callback.
OAuthTemplateContext
Values displayed by the browser OAuth callback.
ProviderAuth
Generic OAuth provider using the shared persistent credential lifecycle.
ProviderOptions
Provider-specific OAuth identity, endpoints, storage, and shared lifecycle options.
StorageHandle
Keeps storage callbacks in the native library that owns their converters.
UniFfiTraitVtableStorageAdapter

Enums§

AuthError
Error
FileLayout
OAuthGrant
OAuth grant used to acquire and renew credentials.
Storage

Traits§

AuthSession
A provider wrapper that inherits the canonical credential lifecycle.
CredentialStore
Credential persistence with exclusive refresh coordination.
StorageAdapter
Foreign-language persistence contract; implement every method in Node or Python.
StorageLock
Exclusive refresh lease; RAII locks can use the default consuming release.
TokenProvider
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

Type Aliases§

BindingResult
Result
StoreBackend