Skip to main content

OAuthResourceIdentifierValidator

Trait OAuthResourceIdentifierValidator 

Source
pub trait OAuthResourceIdentifierValidator:
    Send
    + Sync
    + Debug {
    // Required method
    fn validate<'life0, 'life1, 'async_trait>(
        &'life0 self,
        identifier: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = AuthResult<bool>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Application identifier validation replaces the default absolute-URI/fragment check.

Required Methods§

Source

fn validate<'life0, 'life1, 'async_trait>( &'life0 self, identifier: &'life1 str, ) -> Pin<Box<dyn Future<Output = AuthResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§