Skip to main content

Crate auths_infra_http

Crate auths_infra_http 

Source
Expand description

HTTP client adapter layer for Auths.

Implements the network port traits defined in auths-core using reqwest. Each client wraps HTTP endpoints for the Auths infrastructure services.

§Modules

Modules§

namespace
Namespace verification adapters for package ecosystem ownership proofs. Namespace verification adapters for package ecosystem ownership proofs.

Structs§

HttpAsyncWitnessClient
HTTP-based witness client implementing AsyncWitnessProvider.
HttpGistPublisher
HTTP implementation that publishes platform claim proofs as public GitHub Gists.
HttpGitHubOAuthProvider
HTTP implementation of the GitHub device authorization flow (RFC 8628).
HttpGitHubSshKeyUploader
HTTP implementation that uploads SSH signing keys to GitHub for commit verification.
HttpIdentityResolver
HTTP-backed implementation of IdentityResolver.
HttpJwksClient
HTTP-based implementation of JwksClient with built-in caching.
HttpJwtValidator
HTTP-based implementation of JwtValidator using jsonwebtoken crate.
HttpNpmAuthProvider
HTTP client that verifies npm access tokens.
HttpPairingRelayClient
HTTP-backed implementation of PairingRelayClient.
HttpRegistryClaimClient
HTTP implementation that submits platform identity claims to the auths registry.
HttpRegistryClient
HTTP-backed implementation of RegistryClient.
HttpTimestampClient
HTTP-based implementation of TimestampClient for RFC 3161 timestamp authority operations.
HttpWitnessClient
HTTP-backed implementation of WitnessClient.
OidcTokenClaims
OIDC claims structure with standard JWT fields.

Functions§

circleci_oidc_token
CircleCI OIDC token acquisition.
default_http_client
Builds an HTTP client with hardened defaults.
github_actions_oidc_token
GitHub Actions OIDC token acquisition.
gitlab_ci_oidc_token
GitLab CI OIDC token acquisition.
normalize_workload_claims
Normalize platform-specific OIDC claims to a standard WorkloadIdentity format.
resolve_verified_platform_context
Fetches verified platform claims from the registry for the given DID.