pub trait Authorizer: Sync + Send + 'static {
type Error: Error + Debug + Send + Sync;
// Required methods
fn project_id(&self) -> &str;
fn authorize<'life0, 'life1, 'life2, 'life3, 'async_trait, T>(
&'life0 self,
request: &'life1 mut Request<T>,
scopes: &'life2 [&'life3 str]
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where T: 'async_trait + Send + Sync,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
}