Skip to main content

Crate owlauth_client

Crate owlauth_client 

Source
Expand description

Async, storage-free Project Auth protocol client for OwlAuth Runtime.

Structs§

AccessToken
BrowserLogoutPreparation
Project browser logout target. The SDK never navigates to it.
CancellationToken
Cloneable caller-controlled cancellation boundary for one SDK operation.
Client
Async Project Auth protocol client. It owns no pending or credential persistence.
ClientConfig
Immutable one-Project/one-Application client configuration.
CredentialPair
Atomic access/refresh generation returned by Runtime.
CredentialPairRecord
Explicit secret-bearing atomic credential record for Application-owned protected storage.
CurrentUser
Current Project user and Application session view.
Error
A safe semantic Project Auth error.
HttpRequest
Bounded request passed to an injected transport. Debug output redacts body and headers.
HttpResponse
Bounded response returned by a transport.
JwksDocument
Project JWKS plus authoritative revision metadata.
LoginStart
Login start output. The SDK does not navigate to hosted_url.
OperationOptions
Optional controls for one SDK operation.
PendingLogin
Explicit caller-held login state. Debug output never reveals PKCE or state material.
PendingLoginRecord
Explicit secret-bearing pending-login record for Application-owned protected storage.
PublicConfiguration
Public Project/Application login configuration.
PublicJwk
One public Project signing key.
PublicProvider
Public provider presentation returned by Runtime.
RefreshToken
SdkDebugEvent
Closed, secret-free completion event emitted only when a debug hook is configured.
TransportFailure
Transport failure with explicit dispatch knowledge for one-use operations.
UserProjection
Deterministic bounded Application user projection.
ValidatedCallback
Locally validated one-attempt callback material.

Enums§

ErrorCategory
Stable, cross-language error category.
HttpMethod
HTTP method used by the narrow Runtime transport.
LocalAction
Required handling for caller-owned pending or credential state.
RetryPolicy
Whether an Application may retry an operation.
SdkDebugOutcome
Secret-free result classification for an optional SDK debug event.
TransportFailureKind
Stable transport failure kind.

Constants§

VERSION
Effective package version compiled into this crate.

Traits§

Clock
Injectable Unix clock.
DebugHook
Optional observer for safe SDK completion events.
EntropySource
Injectable entropy source used only to make deterministic tests possible.
Transport
Injectable async transport. Implementations must not follow redirects.