feat(auth): add StateStore trait for pluggable OAuth state storage (#614)

* feat(auth): add StateStore trait for pluggable OAuth state storage

* fix(examples): use CLI server_url for transport connection
This commit is contained in:
centdix 2026-01-13 21:33:25 +01:00 • committed by GitHub
commit ce559f28e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,7 +99,11 @@ pub use io::stdio;
pub mod auth;
#[cfg(feature = "auth")]
#[cfg_attr(docsrs, doc(cfg(feature = "auth")))]
pub use auth::{AuthError, AuthorizationManager, AuthorizationSession, AuthorizedHttpClient};
pub use auth::{
AuthError, AuthorizationManager, AuthorizationSession, AuthorizedHttpClient, CredentialStore,
InMemoryCredentialStore, InMemoryStateStore, StateStore, StoredAuthorizationState,
StoredCredentials,
};
// #[cfg(feature = "transport-ws")]
// #[cfg_attr(docsrs, doc(cfg(feature = "transport-ws")))]