pub trait OAuthAuthorizationCodeHandler: Send + Sync {
// Required method
fn validate_authorization_code<'life0, 'async_trait>(
&'life0 self,
context: OAuthAuthorizationCodeContext,
) -> Pin<Box<dyn Future<Output = Result<OAuthTokenSet, String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided method
fn configured_client_ids(
&self,
_ids: &[String],
) -> Option<Arc<dyn OAuthAuthorizationCodeHandler>> { ... }
}Required Methods§
Provided Methods§
Sourcefn configured_client_ids(
&self,
_ids: &[String],
) -> Option<Arc<dyn OAuthAuthorizationCodeHandler>>
fn configured_client_ids( &self, _ids: &[String], ) -> Option<Arc<dyn OAuthAuthorizationCodeHandler>>
Reconfigure a factory transport that directly interpolates client IDs.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".