Skip to main content

Module providers

Module providers 

Source
Expand description

Built-in provider network implementations.

Structs§

DesktopOAuthPresenter
Desktop sign-in using the system browser and a loopback callback listener. Register http://localhost:19284/callback with each provider’s client.
EmptiedS3Bucket
What emptying an S3 bucket removed (api.md E14).
OAuthClients
The app’s OAuth client ids (E10).
OAuthExchange
The app’s OAuth clients with what coven sends their token requests through: the store’s clock and an HTTP client of its own (§20.2). Building the client fails only when TLS cannot be set up; each request then returns that failure.
OAuthFlow
The sign-in service used by coven’s composition roots. Apps configure OAuthClients and OAuthPresenter; only coven receives tokens.
OAuthRedirectError
The original checked error callback. Diagnostics show only its error code (RFC 6749 §4.1.2.1), such as server_error: the callback’s other fields may contain secrets echoed by the provider.
OAuthSession
A device’s provider sign-in and HTTP connection, injected into its provider. A token is used until the provider rejects it with HTTP 401; the request then refreshes once through the sign-in’s custody and is retried once (§20.2).
ProviderConnector
The provider composition root retains the supplied clock and id source, and the one HTTP client every connection it makes sends through.
ProviderResponse
The original error response. Its body is never printed; providers may echo secrets.
StorageFolder
A provider folder’s display name and the exact location accepted by setup.

Enums§

DropboxClients
The app’s Dropbox registrations, with an explicit access choice when both exist.
EmptyS3BucketError
Why an S3 bucket was not emptied (api.md E14).
OAuthError
Sign-in failures distinguish cancellation, invalid redirects and provider refusal.

Traits§

OAuthPresenter
Presents sign-in without handling tokens. The platform sheet must be dismissed when its future is dropped. Native cancellation returns OAuthError::Cancelled.
OAuthTokenRefresh
Crate-to-crate operations for coven’s owners; not re-exported by the app API.
StorageConnector
Constructs provider connections without committing settings or credentials. Tests replace the connection boundary with in-memory storage.

Functions§

s3_member_policy
The policy a member key needs, as guided console steps show it (§20.10).