pub enum AuthMachineInput {
Show 19 variants
Acquire {
expires_at_ts: Option<u64>,
},
MarkExpiring,
BeginRefresh,
CompleteRefresh {
new_expires_at: Option<u64>,
now_ts: u64,
},
RefreshFailedTransient,
RefreshFailedPermanent,
MarkReauthRequired,
ClearCredentialLifecycle,
Release,
AdmitOAuthBrowserFlow {
flow_id: String,
provider: String,
redirect_uri: String,
expires_at_millis: u64,
max_outstanding_flows: u64,
},
VerifyOAuthBrowserFlow {
flow_id: String,
provider: String,
redirect_uri: String,
now_millis: u64,
},
ConsumeOAuthBrowserFlow {
flow_id: String,
provider: String,
redirect_uri: String,
now_millis: u64,
},
ExpireOAuthBrowserFlow {
flow_id: String,
},
AdmitOAuthDeviceFlow {
flow_id: String,
provider: String,
expires_at_millis: u64,
max_outstanding_flows: u64,
},
VerifyOAuthDeviceFlow {
flow_id: String,
provider: String,
now_millis: u64,
},
BeginOAuthDevicePoll {
flow_id: String,
provider: String,
now_millis: u64,
},
FinishOAuthDevicePoll {
flow_id: String,
},
ConsumeOAuthDeviceFlow {
flow_id: String,
provider: String,
now_millis: u64,
},
ExpireOAuthDeviceFlow {
flow_id: String,
},
}Variants§
Acquire
MarkExpiring
BeginRefresh
CompleteRefresh
RefreshFailedTransient
RefreshFailedPermanent
MarkReauthRequired
ClearCredentialLifecycle
Release
AdmitOAuthBrowserFlow
Fields
VerifyOAuthBrowserFlow
ConsumeOAuthBrowserFlow
ExpireOAuthBrowserFlow
AdmitOAuthDeviceFlow
VerifyOAuthDeviceFlow
BeginOAuthDevicePoll
FinishOAuthDevicePoll
ConsumeOAuthDeviceFlow
ExpireOAuthDeviceFlow
Trait Implementations§
Source§impl Clone for AuthMachineInput
impl Clone for AuthMachineInput
Source§fn clone(&self) -> AuthMachineInput
fn clone(&self) -> AuthMachineInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthMachineInput
impl Debug for AuthMachineInput
Source§impl PartialEq for AuthMachineInput
impl PartialEq for AuthMachineInput
Source§fn eq(&self, other: &AuthMachineInput) -> bool
fn eq(&self, other: &AuthMachineInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AuthMachineInput
impl StructuralPartialEq for AuthMachineInput
Auto Trait Implementations§
impl Freeze for AuthMachineInput
impl RefUnwindSafe for AuthMachineInput
impl Send for AuthMachineInput
impl Sync for AuthMachineInput
impl Unpin for AuthMachineInput
impl UnsafeUnpin for AuthMachineInput
impl UnwindSafe for AuthMachineInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.