pub trait HasTokenManager {
// Required method
fn token_manager(&self) -> Arc<TokenManager>;
}Expand description
Trait for Authkestra instances that have a token manager configured.
Required Methods§
Sourcefn token_manager(&self) -> Arc<TokenManager>
fn token_manager(&self) -> Arc<TokenManager>
Returns the token manager.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<S> HasTokenManager for Engine<S, Configured<Arc<TokenManager>>>
Available on crate feature
token only.