Skip to main content

Crate sigstore_oidc

Crate sigstore_oidc 

Source
Expand description

OpenID Connect identity provider for Sigstore

This crate handles identity token acquisition through various OIDC flows including interactive browser-based OAuth and ambient credential detection.

Re-exports§

pub use error::Error;
pub use error::Result;
pub use oauth::get_identity_token;
pub use oauth::get_identity_token_with_callback;
pub use oauth::get_identity_token_with_options;
pub use oauth::AuthCallback;
pub use oauth::AuthMode;
pub use oauth::AuthOptions;
pub use oauth::DefaultAuthCallback;
pub use oauth::OAuthClient;
pub use oauth::OAuthConfig;
pub use oauth::TokenResponse;
pub use templates::DefaultTemplates;
pub use templates::HtmlTemplates;
pub use templates::MinimalTemplates;
pub use token::issuers;
pub use token::Audience;
pub use token::FederatedClaims;
pub use token::IdentityToken;
pub use token::TokenClaims;

Modules§

error
Error types for sigstore-oidc
oauth
OAuth flow implementation for interactive token acquisition
templates
HTML templates for OAuth callback pages
token
Identity token handling

Functions§

parse_identity_token
Parse an identity token from a JWT string