Struct rusty_box::auth::auth_developer::DevAuth
source · pub struct DevAuth { /* private fields */ }Expand description
Developer token authentication. This is used for testing and development. Has a life time of 1 hour, and has to be manually generated in the Box developer console.
Implementations§
Trait Implementations§
source§impl<'a> Auth<'a> for DevAuth
impl<'a> Auth<'a> for DevAuth
fn access_token<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<String, AuthError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
fn to_json<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<String, AuthError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
fn base_api_url(&self) -> String
fn user_agent(&self) -> String
Auto Trait Implementations§
impl RefUnwindSafe for DevAuth
impl Send for DevAuth
impl Sync for DevAuth
impl Unpin for DevAuth
impl UnwindSafe for DevAuth
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