Enum openidconnect::core::CoreClientAuthMethod
source · pub enum CoreClientAuthMethod {
ClientSecretBasic,
ClientSecretJwt,
ClientSecretPost,
PrivateKeyJwt,
None,
Extension(String),
}
Expand description
OpenID Connect Core client authentication method.
Variants§
ClientSecretBasic
Client secret passed via the HTTP Basic authentication scheme.
ClientSecretJwt
Client authentication using a JSON Web Token signed with the client secret used as an HMAC key.
ClientSecretPost
Client secret passed via the POST request body.
PrivateKeyJwt
JSON Web Token signed with a private key whose public key has been previously registered with the OpenID Connect provider.
None
The Client does not authenticate itself at the Token Endpoint, either because it uses only the Implicit Flow (and so does not use the Token Endpoint) or because it is a Public Client with no Client Secret or other authentication mechanism.
Extension(String)
An extension not defined by the OpenID Connect Core spec.
Trait Implementations§
source§impl AsRef<str> for CoreClientAuthMethod
impl AsRef<str> for CoreClientAuthMethod
source§impl Clone for CoreClientAuthMethod
impl Clone for CoreClientAuthMethod
source§fn clone(&self) -> CoreClientAuthMethod
fn clone(&self) -> CoreClientAuthMethod
Returns a copy 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 CoreClientAuthMethod
impl Debug for CoreClientAuthMethod
source§impl<'de> Deserialize<'de> for CoreClientAuthMethod
impl<'de> Deserialize<'de> for CoreClientAuthMethod
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for CoreClientAuthMethod
impl Hash for CoreClientAuthMethod
source§impl PartialEq for CoreClientAuthMethod
impl PartialEq for CoreClientAuthMethod
source§fn eq(&self, other: &CoreClientAuthMethod) -> bool
fn eq(&self, other: &CoreClientAuthMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CoreClientAuthMethod
impl Serialize for CoreClientAuthMethod
impl ClientAuthMethod for CoreClientAuthMethod
impl Eq for CoreClientAuthMethod
impl StructuralPartialEq for CoreClientAuthMethod
Auto Trait Implementations§
impl RefUnwindSafe for CoreClientAuthMethod
impl Send for CoreClientAuthMethod
impl Sync for CoreClientAuthMethod
impl Unpin for CoreClientAuthMethod
impl UnwindSafe for CoreClientAuthMethod
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.