pub trait AuthParam<T: Serialize + DeserializeOwned + FromBase64> {
// Required methods
fn config() -> Arc<AuthConfig<T>>;
fn authenticated<'life0, 'life1, 'async_trait>(
req: &'life0 mut Parts,
arg: &'life1 T
) -> Pin<Box<dyn Future<Output = ApiResult<()>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait;
}