pub enum ClientAuth {
ClientSecretPost,
ClientSecretBasic,
}Expand description
How client credentials are presented at the token endpoint (RFC 6749 §2.3).
Variants§
ClientSecretPost
client_id and client_secret in the form body. What LinkedIn,
Stripe and most SaaS-style providers do.
ClientSecretBasic
HTTP Basic, per RFC 6749 §2.3.1. What the RFC prefers and Google does.
Trait Implementations§
Source§impl Clone for ClientAuth
impl Clone for ClientAuth
impl Copy for ClientAuth
Source§impl Debug for ClientAuth
impl Debug for ClientAuth
impl Eq for ClientAuth
Source§impl PartialEq for ClientAuth
impl PartialEq for ClientAuth
impl StructuralPartialEq for ClientAuth
Auto Trait Implementations§
impl Freeze for ClientAuth
impl RefUnwindSafe for ClientAuth
impl Send for ClientAuth
impl Sync for ClientAuth
impl Unpin for ClientAuth
impl UnsafeUnpin for ClientAuth
impl UnwindSafe for ClientAuth
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.