pub trait OAuthTokens: Send + Sync {
// Required method
fn access_token(&self) -> Result<SecretString, FleetError>;
}Expand description
Where the OAuth token lives (the operator secret store).
Required Methods§
Sourcefn access_token(&self) -> Result<SecretString, FleetError>
fn access_token(&self) -> Result<SecretString, FleetError>
The current access token.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".