pub struct CodexAuthBroker { /* private fields */ }Trait Implementations§
Source§impl AuthBroker for CodexAuthBroker
impl AuthBroker for CodexAuthBroker
fn provider(&self) -> Provider
fn start_auth<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AuthFlowHandle, AuthError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn check_status<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AuthStatus, AuthError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn disconnect<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), AuthError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn extract_token<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<ProviderToken>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn extract_token<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<ProviderToken>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Extract a token from CLI artifacts after a successful auth flow.
fn complete_auth<'life0, 'life1, 'async_trait>(
&'life0 self,
_code: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), AuthError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl Clone for CodexAuthBroker
impl Clone for CodexAuthBroker
Source§fn clone(&self) -> CodexAuthBroker
fn clone(&self) -> CodexAuthBroker
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 CodexAuthBroker
impl Debug for CodexAuthBroker
Auto Trait Implementations§
impl Freeze for CodexAuthBroker
impl RefUnwindSafe for CodexAuthBroker
impl Send for CodexAuthBroker
impl Sync for CodexAuthBroker
impl Unpin for CodexAuthBroker
impl UnsafeUnpin for CodexAuthBroker
impl UnwindSafe for CodexAuthBroker
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