pub enum FxaStateCheckerState {
GetAuthState,
BeginOAuthFlow {
scopes: Vec<String>,
entrypoint: String,
},
BeginPairingFlow {
pairing_url: String,
scopes: Vec<String>,
entrypoint: String,
},
CompleteOAuthFlow {
code: String,
state: String,
},
InitializeDevice,
EnsureDeviceCapabilities,
CheckAuthorizationStatus,
GetProfile,
Disconnect,
Complete {
new_state: FxaState,
},
Cancel,
}
Expand description
State passed to the state checker, this is exactly the same as internal_machines::State
except the Complete
variant uses a named field for UniFFI compatibility.
Variants§
GetAuthState
BeginOAuthFlow
BeginPairingFlow
CompleteOAuthFlow
InitializeDevice
EnsureDeviceCapabilities
CheckAuthorizationStatus
GetProfile
Disconnect
Complete
Cancel
Auto Trait Implementations§
impl Freeze for FxaStateCheckerState
impl RefUnwindSafe for FxaStateCheckerState
impl Send for FxaStateCheckerState
impl Sync for FxaStateCheckerState
impl Unpin for FxaStateCheckerState
impl UnwindSafe for FxaStateCheckerState
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more