pub struct StaticPlatformStore<'a> {
pub iss: &'a str,
}Fields§
§iss: &'a strTrait Implementations§
Source§impl PlatformStore for StaticPlatformStore<'_>
impl PlatformStore for StaticPlatformStore<'_>
Source§fn get_jwk_server_url<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String, PlatformError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_jwk_server_url<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String, PlatformError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get JWKS URL for the configured platform Read more
Source§fn get_oidc_url<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String, PlatformError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_oidc_url<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String, PlatformError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get OIDC URL for the configured platform Read more
Source§fn get_token_url<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String, PlatformError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_token_url<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String, PlatformError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get token URL for the configured platform Read more
Source§fn create<'life0, 'async_trait>(
&'life0 self,
_platform: PlatformData,
) -> Pin<Box<dyn Future<Output = Result<PlatformData, PlatformError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create<'life0, 'async_trait>(
&'life0 self,
_platform: PlatformData,
) -> Pin<Box<dyn Future<Output = Result<PlatformData, PlatformError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Create a new platform configuration Read more
Source§fn find_by_iss<'life0, 'life1, 'async_trait>(
&'life0 self,
issuer: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<PlatformData>, PlatformError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn find_by_iss<'life0, 'life1, 'async_trait>(
&'life0 self,
issuer: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<PlatformData>, PlatformError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Find platform configuration by issuer Read more
Source§fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
_issuer: &'life1 str,
_platform: PlatformData,
) -> Pin<Box<dyn Future<Output = Result<PlatformData, PlatformError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
_issuer: &'life1 str,
_platform: PlatformData,
) -> Pin<Box<dyn Future<Output = Result<PlatformData, PlatformError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Update platform configuration Read more
Auto Trait Implementations§
impl<'a> Freeze for StaticPlatformStore<'a>
impl<'a> RefUnwindSafe for StaticPlatformStore<'a>
impl<'a> Send for StaticPlatformStore<'a>
impl<'a> Sync for StaticPlatformStore<'a>
impl<'a> Unpin for StaticPlatformStore<'a>
impl<'a> UnwindSafe for StaticPlatformStore<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more