Skip to main content

Module oauth2

Module oauth2 

Source
Expand description

Outbound OAuth2 client credentials flow.

This module implements token acquisition, caching, and automatic injection for outbound HTTP requests to vendor services secured with OAuth2.

Re-exports§

pub use builder_ext::HttpClientBuilderExt;
pub use config::OAuthClientConfig;
pub use error::TokenError;
pub use layer::BearerAuthLayer;
pub use token::Token;
pub use types::ClientAuthMethod;

Modules§

builder_ext
config
error
layer
token
types

Structs§

SecretString
Opaque wrapper around a secret string value.