Modules§
- oauth_
broker_ wit - Canonical Wasmtime linker exports for the oauth-broker world.
Structs§
- Access
Token - Narrow access token view returned by the broker helpers.
- Client
- High-level client for interacting with the OAuth broker.
- Client
Config - Configuration parameters for establishing a broker client.
- Flow
Result - Result emitted when the broker completes an OAuth flow.
- Initiate
Auth Request - Request parameters for initiating an OAuth flow.
- Initiate
Auth Response - Result of initiating an OAuth flow.
- Method
- The Request Method (VERB)
- Oauth
Broker Host - Wrapper holding an OAuth broker client and exposing convenience helpers.
- Signed
Fetch Request - Parameters for issuing a signed fetch request.
- Signed
Fetch Response - Response returned from a signed fetch invocation.
- Token
Validation Config - Configuration for bearer token validation.
- Validated
Claims - Claims extracted from a validated bearer token.
Enums§
- OAuth
Error - Shared OAuth error surface for high-level broker helpers.
- Owner
Kind - Owner classification for initiating flows.
- SdkError
- Errors emitted by the OAuth SDK client.
- Visibility
- Visibility scope for stored connections.
Traits§
- OAuth
Broker - Trait abstracting broker communication for testability.
Functions§
- request_
distributor_ token - Request a token for a distributor endpoint.
- request_
git_ token - Request a Git provider token for a repo.
- request_
oci_ token - Request an OCI registry token.
- request_
repo_ token - Request a token tied to a repo (Store-facing convenience).
- request_
scanner_ token - Request a scanner token.
- validate_
bearer_ token - Validate a bearer token using JWKS-backed signature verification and basic claim checks.
Type Aliases§
- OAuth
Result - Convenience result alias for OAuth operations.