Skip to main content

Module auth

Module auth 

Source
Expand description

Authentication strategies for REST APIs.

Re-exports§

pub use token_endpoint::ResponseValidator;
pub use oauth2::fetch_oauth2_token;
pub use token_endpoint::fetch_token_from_endpoint;

Modules§

api_key
API key header authentication.
basic
HTTP Basic authentication.
bearer
Bearer token authentication.
custom
Custom header-based authentication.
oauth2
OAuth2 client credentials flow with token caching.
token_endpoint
Generic token-endpoint authentication with caching.

Enums§

Auth
Supported authentication methods.