pub enum ClientAuthMethod {
ClientSecretBasic,
ClientSecretPost,
}Expand description
How client credentials are presented to the token endpoint (RFC 6749 §2.3).
Variants§
ClientSecretBasic
Send client_id and client_secret in an HTTP Basic Authorization
header (RFC 6749 §2.3.1). This is the default.
ClientSecretPost
Send client_id and client_secret as form parameters in the request
body (RFC 6749 §2.3.1).
Trait Implementations§
Source§impl Clone for ClientAuthMethod
impl Clone for ClientAuthMethod
impl Copy for ClientAuthMethod
Source§impl Debug for ClientAuthMethod
impl Debug for ClientAuthMethod
Source§impl Default for ClientAuthMethod
impl Default for ClientAuthMethod
impl Eq for ClientAuthMethod
Source§impl PartialEq for ClientAuthMethod
impl PartialEq for ClientAuthMethod
impl StructuralPartialEq for ClientAuthMethod
Auto Trait Implementations§
impl Forget for ClientAuthMethod
impl Freeze for ClientAuthMethod
impl Move 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