Skip to main content

Crate anapaya_aa_client

Crate anapaya_aa_client 

Source
Expand description

Client for the Anapaya AA (Auth/n Auth/z) service.

This crate provides an ApiKeyTokenRefresher that implements the scion_sdk_reqwest_connect_rpc::token_source::refresh::TokenRefresher trait, enabling automatic SNAP token acquisition and renewal using static API key credentials.

Re-exports§

pub use client::AaAuthClient;
pub use client::AuthResult;
pub use client::CrpcAaAuthClient;
pub use refresher::ApiKeyTokenRefresher;
pub use refresher::ApiKeyTokenRefresherError;

Modules§

client
Client for the Anapaya AA (Auth/n Auth/z) AuthService.
refresher
ApiKeyTokenRefresher fetches and renews SNAP tokens using static API key credentials via the Anapaya AA (Auth/n Auth/z) AuthService.