pub struct AuthConfig { /* private fields */ }Implementations§
Source§impl AuthConfig
impl AuthConfig
pub fn with_token(self, token: impl Into<String>) -> Self
pub fn with_publishable_key(self, publishable_key: impl Into<String>) -> Self
pub fn with_token_endpoint(self, token_endpoint: impl Into<String>) -> Self
pub fn with_token_endpoint_header( self, key: impl Into<String>, value: impl Into<String>, ) -> Self
pub fn with_token_transport(self, transport: TokenTransport) -> Self
pub fn with_token_provider<F, Fut>(self, provider: F) -> Self
Trait Implementations§
Source§impl Clone for AuthConfig
impl Clone for AuthConfig
Source§fn clone(&self) -> AuthConfig
fn clone(&self) -> AuthConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 AuthConfig
impl Debug for AuthConfig
Source§impl Default for AuthConfig
impl Default for AuthConfig
Source§fn default() -> AuthConfig
fn default() -> AuthConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AuthConfig
impl !RefUnwindSafe for AuthConfig
impl Send for AuthConfig
impl Sync for AuthConfig
impl Unpin for AuthConfig
impl UnsafeUnpin for AuthConfig
impl !UnwindSafe for AuthConfig
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