Skip to main content

ClientAssertion

Trait ClientAssertion 

Source
pub trait ClientAssertion:
    Send
    + Sync
    + Debug {
    // Required method
    fn secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        options: Option<ClientMethodOptions<'life1>>,
    ) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Represents an entity capable of supplying a client assertion.

Required Methods§

Source

fn secret<'life0, 'life1, 'async_trait>( &'life0 self, options: Option<ClientMethodOptions<'life1>>, ) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Supply the client assertion secret.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§