Expand description
Async, storage-free Project Auth protocol client for OwlAuth Runtime.
Structs§
- Access
Token - Browser
Logout Preparation - Project browser logout target. The SDK never navigates to it.
- Cancellation
Token - Cloneable caller-controlled cancellation boundary for one SDK operation.
- Client
- Async Project Auth protocol client. It owns no pending or credential persistence.
- Client
Config - Immutable one-Project/one-Application client configuration.
- Credential
Pair - Atomic access/refresh generation returned by Runtime.
- Credential
Pair Record - Explicit secret-bearing atomic credential record for Application-owned protected storage.
- Current
User - Current Project user and Application session view.
- Error
- A safe semantic Project Auth error.
- Http
Request - Bounded request passed to an injected transport. Debug output redacts body and headers.
- Http
Response - Bounded response returned by a transport.
- Jwks
Document - Project JWKS plus authoritative revision metadata.
- Login
Start - Login start output. The SDK does not navigate to
hosted_url. - Operation
Options - Optional controls for one SDK operation.
- Pending
Login - Explicit caller-held login state. Debug output never reveals PKCE or state material.
- Pending
Login Record - Explicit secret-bearing pending-login record for Application-owned protected storage.
- Public
Configuration - Public Project/Application login configuration.
- Public
Jwk - One public Project signing key.
- Public
Provider - Public provider presentation returned by Runtime.
- Refresh
Token - SdkDebug
Event - Closed, secret-free completion event emitted only when a debug hook is configured.
- Transport
Failure - Transport failure with explicit dispatch knowledge for one-use operations.
- User
Projection - Deterministic bounded Application user projection.
- Validated
Callback - Locally validated one-attempt callback material.
Enums§
- Error
Category - Stable, cross-language error category.
- Http
Method - HTTP method used by the narrow Runtime transport.
- Local
Action - Required handling for caller-owned pending or credential state.
- Retry
Policy - Whether an Application may retry an operation.
- SdkDebug
Outcome - Secret-free result classification for an optional SDK debug event.
- Transport
Failure Kind - Stable transport failure kind.
Constants§
- VERSION
- Effective package version compiled into this crate.
Traits§
- Clock
- Injectable Unix clock.
- Debug
Hook - Optional observer for safe SDK completion events.
- Entropy
Source - Injectable entropy source used only to make deterministic tests possible.
- Transport
- Injectable async transport. Implementations must not follow redirects.