pub struct SmartflowProvider {
pub hold_seconds: u64,
/* private fields */
}Fields§
§hold_seconds: u64How long we wait before giving up on a user verification. Matches the local identity gate default (120 s).
Implementations§
Source§impl SmartflowProvider
impl SmartflowProvider
pub fn new(api: Arc<OrgApi>) -> Self
pub fn with_hold_seconds(self, secs: u64) -> Self
Sourcepub async fn resolve(&self, req: &IdentityRequirement) -> ResolveOutcome
pub async fn resolve(&self, req: &IdentityRequirement) -> ResolveOutcome
Resolve a requirement to an outcome. This is the single public entry point the org-mode handler calls.
Auto Trait Implementations§
impl !RefUnwindSafe for SmartflowProvider
impl !UnwindSafe for SmartflowProvider
impl Freeze for SmartflowProvider
impl Send for SmartflowProvider
impl Sync for SmartflowProvider
impl Unpin for SmartflowProvider
impl UnsafeUnpin for SmartflowProvider
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