pub struct SimpleAuthProviderBuilder { /* private fields */ }Expand description
Builder for SimpleAuthProvider
Provides a convenient way to construct a SimpleAuthProvider with optional fields.
Implementations§
Source§impl SimpleAuthProviderBuilder
impl SimpleAuthProviderBuilder
Sourcepub fn passphrase(self, passphrase: impl Into<String>) -> Self
pub fn passphrase(self, passphrase: impl Into<String>) -> Self
Set the passphrase for the private key
Sourcepub fn delegation_token(self, token: impl Into<String>) -> Self
pub fn delegation_token(self, token: impl Into<String>) -> Self
Set the delegation token
Sourcepub fn session_token(self, token: impl Into<String>) -> Self
pub fn session_token(self, token: impl Into<String>) -> Self
Set the session token
Sourcepub fn build(self) -> SimpleAuthProvider
pub fn build(self) -> SimpleAuthProvider
Build the SimpleAuthProvider
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimpleAuthProviderBuilder
impl RefUnwindSafe for SimpleAuthProviderBuilder
impl Send for SimpleAuthProviderBuilder
impl Sync for SimpleAuthProviderBuilder
impl Unpin for SimpleAuthProviderBuilder
impl UnsafeUnpin for SimpleAuthProviderBuilder
impl UnwindSafe for SimpleAuthProviderBuilder
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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