pub enum AuthMachineInput {
Show 29 variants
Acquire {
expires_at_ts: Option<u64>,
credential_published_at_millis: u64,
},
MarkExpiring,
ObserveCredentialFreshness {
now_ts: u64,
refresh_window_secs: u64,
},
BeginRefresh,
CompleteRefresh {
new_expires_at: Option<u64>,
now_ts: u64,
credential_published_at_millis: u64,
},
RefreshFailed {
http_status: Option<u64>,
oauth_error_code: Option<String>,
local_credential_unusable: bool,
},
MarkReauthRequired,
ClearCredentialLifecycle,
ReleaseCredentialLifecycle,
BeginRelease,
Release,
RestoreAuthoritySnapshot {
lifecycle_phase: AuthLifecyclePhase,
expires_at: Option<u64>,
last_refresh: Option<u64>,
refresh_attempt: u64,
credential_present: bool,
credential_generation: u64,
credential_published_at_millis: Option<u64>,
},
RestoreCredentialLifecycleSnapshot {
lifecycle_phase: Option<AuthLifecyclePhase>,
expires_at: Option<u64>,
last_refresh: Option<u64>,
refresh_attempt: u64,
credential_present: bool,
credential_generation: u64,
credential_published_at_millis: Option<u64>,
restored_oauth_membership_observed: bool,
},
RestoreOAuthBrowserFlow {
flow_id: String,
provider: Option<String>,
redirect_uri: Option<String>,
expires_at_millis: Option<u64>,
},
RestoreOAuthDeviceFlow {
flow_id: String,
provider: Option<String>,
expires_at_millis: Option<u64>,
},
RestoreOAuthDevicePoll {
flow_id: String,
},
AdmitOAuthBrowserFlow {
flow_id: String,
provider: String,
redirect_uri: String,
expires_at_millis: u64,
max_outstanding_flows: u64,
observed_global_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,
observed_global_outstanding_flows: u64,
},
ConfirmOAuthDurableAdmission {
observed_global_outstanding_flows: 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,
},
ResolveCredentialUseAdmission {
intent: CredentialUseIntent,
},
ResolveOAuthLoginCredentialDisposition {
credential_present: bool,
force_refresh: bool,
refresh_allowed: bool,
},
}Variants§
Acquire
MarkExpiring
ObserveCredentialFreshness
BeginRefresh
CompleteRefresh
RefreshFailed
MarkReauthRequired
ClearCredentialLifecycle
ReleaseCredentialLifecycle
BeginRelease
Release
RestoreAuthoritySnapshot
Fields
§
lifecycle_phase: AuthLifecyclePhaseRestoreCredentialLifecycleSnapshot
Fields
§
lifecycle_phase: Option<AuthLifecyclePhase>RestoreOAuthBrowserFlow
Fields
RestoreOAuthDeviceFlow
RestoreOAuthDevicePoll
AdmitOAuthBrowserFlow
Fields
VerifyOAuthBrowserFlow
ConsumeOAuthBrowserFlow
ExpireOAuthBrowserFlow
AdmitOAuthDeviceFlow
Fields
ConfirmOAuthDurableAdmission
VerifyOAuthDeviceFlow
BeginOAuthDevicePoll
FinishOAuthDevicePoll
ConsumeOAuthDeviceFlow
ExpireOAuthDeviceFlow
ResolveCredentialUseAdmission
Fields
§
intent: CredentialUseIntentResolveOAuthLoginCredentialDisposition
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
impl Eq 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 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.