pub enum ClientAuthMethod {
None,
ClientSecretBasic,
ClientSecretPost,
PrivateKeyJwt,
}Expand description
Match the registered token_endpoint_auth_method. Public clients use None.
Variants§
None
ClientSecretBasic
ClientSecretPost
PrivateKeyJwt
RFC 7523: a signed assertion instead of a secret. Needs Client::with_client_assertion_key; the service
accepts it at the token and pushed authorization endpoints only.
Trait Implementations§
Source§impl Clone for ClientAuthMethod
impl Clone for ClientAuthMethod
Source§fn clone(&self) -> ClientAuthMethod
fn clone(&self) -> ClientAuthMethod
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 ClientAuthMethod
impl Debug for ClientAuthMethod
Source§impl PartialEq for ClientAuthMethod
impl PartialEq for ClientAuthMethod
Source§fn eq(&self, other: &ClientAuthMethod) -> bool
fn eq(&self, other: &ClientAuthMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ClientAuthMethod
impl Eq for ClientAuthMethod
impl StructuralPartialEq for ClientAuthMethod
Auto Trait Implementations§
impl Freeze for ClientAuthMethod
impl RefUnwindSafe for ClientAuthMethod
impl Send for ClientAuthMethod
impl Sync for ClientAuthMethod
impl Unpin for ClientAuthMethod
impl UnsafeUnpin for ClientAuthMethod
impl UnwindSafe for ClientAuthMethod
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