shield_oidcTrait OidcStorage
Source pub trait OidcStorage<U: User>: Storage<U> + Sync {
// Required methods
fn oidc_subproviders<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<OidcSubprovider>, StorageError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn oidc_subprovider_by_id<'life0, 'life1, 'async_trait>(
&'life0 self,
subprovider_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<OidcSubprovider>, StorageError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn oidc_connection_by_id<'life0, 'life1, 'async_trait>(
&'life0 self,
connection_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<OidcConnection>, StorageError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn oidc_connection_by_identifier<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
subprovider_id: &'life1 str,
identifier: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<OidcConnection>, StorageError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn create_oidc_connection<'life0, 'async_trait>(
&'life0 self,
connection: CreateOidcConnection,
) -> Pin<Box<dyn Future<Output = Result<OidcConnection, StorageError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_oidc_connection<'life0, 'async_trait>(
&'life0 self,
connection: UpdateOidcConnection,
) -> Pin<Box<dyn Future<Output = Result<OidcConnection, StorageError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_oidc_connection<'life0, 'life1, 'async_trait>(
&'life0 self,
connection_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), StorageError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}