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:
parent
ad592020a5
commit
ce559f28e0
1 changed files with 320 additions and 24 deletions
|
|
@ -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")))]
|
||||
|
|
|
|||
Loading…
Reference in a new issue