Struct irma::IrmaClient [−][src]
pub struct IrmaClient { /* fields omitted */ }
Expand description
Client for interacting with an irma server
Implementations
Create a new client without any authentication or other special options
Start an IRMA session with the given request
pub async fn request_extended(
&self,
request: &ExtendedIrmaRequest
) -> Result<SessionData, Error>
pub async fn request_extended(
&self,
request: &ExtendedIrmaRequest
) -> Result<SessionData, Error>
Start an IRMA session with the given extended request (note: this interface is unstable, and might change significantly in the future)
Get the status of a previously started irma session
Cancel a previously started session
Get the result for a previously started irma session
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for IrmaClient
impl Send for IrmaClient
impl Sync for IrmaClient
impl Unpin for IrmaClient
impl !UnwindSafe for IrmaClient
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more