pub struct CallbackServer;Implementations§
Source§impl CallbackServer
impl CallbackServer
Sourcepub async fn spawn(
host: &str,
port: u16,
providers: Vec<Arc<dyn IdentityProvider>>,
cache: Arc<ProofCache>,
signer: Arc<ProofSigner>,
) -> Result<ServerHandle>
pub async fn spawn( host: &str, port: u16, providers: Vec<Arc<dyn IdentityProvider>>, cache: Arc<ProofCache>, signer: Arc<ProofSigner>, ) -> Result<ServerHandle>
Spin up the callback server. Returns a handle whose base_url
points at the bound address.
Auto Trait Implementations§
impl Freeze for CallbackServer
impl RefUnwindSafe for CallbackServer
impl Send for CallbackServer
impl Sync for CallbackServer
impl Unpin for CallbackServer
impl UnsafeUnpin for CallbackServer
impl UnwindSafe for CallbackServer
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