Skip to main content

OidcMutationApi

Trait OidcMutationApi 

Source
pub trait OidcMutationApi: OidcReadApi {
    // Required methods
    fn oidc_upsert_provider<'life0, 'async_trait>(
        &'life0 self,
        request: OidcMutationRequest,
    ) -> Pin<Box<dyn Future<Output = Result<OidcMutationResult>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn oidc_delete_provider<'life0, 'life1, 'async_trait>(
        &'life0 self,
        provider_id: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<OidcMutationResult>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn oidc_upsert_provider<'life0, 'async_trait>( &'life0 self, request: OidcMutationRequest, ) -> Pin<Box<dyn Future<Output = Result<OidcMutationResult>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn oidc_delete_provider<'life0, 'life1, 'async_trait>( &'life0 self, provider_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<OidcMutationResult>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Delete one persisted provider by exact ID.

Implementations must reject invalid IDs locally and preserve not-found semantics so callers can distinguish a completed retry from an unavailable route.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§