pub struct CallerApprover { /* private fields */ }Expand description
The stock approver: the Auth port’s Caller. A verified caller is
a subject; an anonymous one is sent to sign_in_url with return_to
appended.
Implementations§
Trait Implementations§
Source§impl Approver for CallerApprover
impl Approver for CallerApprover
Source§fn approve<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
headers: &'life1 HeaderMap,
return_to: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Approval, ApproverError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn approve<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
headers: &'life1 HeaderMap,
return_to: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Approval, ApproverError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Identifies the caller, or says where to send them to sign in. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for CallerApprover
impl !UnwindSafe for CallerApprover
impl Freeze for CallerApprover
impl Send for CallerApprover
impl Sync for CallerApprover
impl Unpin for CallerApprover
impl UnsafeUnpin for CallerApprover
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