AuthHandlerFn

Trait AuthHandlerFn 

Source
pub trait AuthHandlerFn:
    Fn(String) -> Result<String, Error>
    + 'static
    + Send
    + Sync { }
Expand description

AuthHandlerFn is a function that takes a consent uri and returns an auth code

Implementors§

Source§

impl<H> AuthHandlerFn for H
where H: Fn(String) -> Result<String, Error> + 'static + Send + Sync,