Enum graph_oauth::extensions::AuthParameter
source · pub enum AuthParameter {
Show 27 variants
ClientId,
ClientSecret,
RedirectUri,
AuthorizationCode,
AccessToken,
RefreshToken,
ResponseMode,
State,
SessionState,
ResponseType,
GrantType,
Nonce,
Prompt,
IdToken,
Resource,
DomainHint,
Scope,
LoginHint,
ClientAssertion,
ClientAssertionType,
CodeVerifier,
CodeChallenge,
CodeChallengeMethod,
AdminConsent,
Username,
Password,
DeviceCode,
}
Expand description
Fields that represent common OAuth credentials.
Variants§
ClientId
ClientSecret
RedirectUri
AuthorizationCode
AccessToken
RefreshToken
ResponseMode
State
SessionState
ResponseType
GrantType
Nonce
Prompt
IdToken
Resource
DomainHint
Scope
LoginHint
ClientAssertion
ClientAssertionType
CodeVerifier
CodeChallenge
CodeChallengeMethod
AdminConsent
Username
Password
DeviceCode
Implementations§
Trait Implementations§
source§impl AsRef<str> for AuthParameter
impl AsRef<str> for AuthParameter
source§impl Clone for AuthParameter
impl Clone for AuthParameter
source§fn clone(&self) -> AuthParameter
fn clone(&self) -> AuthParameter
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 AuthParameter
impl Debug for AuthParameter
source§impl<'de> Deserialize<'de> for AuthParameter
impl<'de> Deserialize<'de> for AuthParameter
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 Display for AuthParameter
impl Display for AuthParameter
source§impl Hash for AuthParameter
impl Hash for AuthParameter
source§impl IntoEnumIterator for AuthParameter
impl IntoEnumIterator for AuthParameter
type Iterator = AuthParameterIter
fn iter() -> AuthParameterIter ⓘ
source§impl Ord for AuthParameter
impl Ord for AuthParameter
source§fn cmp(&self, other: &AuthParameter) -> Ordering
fn cmp(&self, other: &AuthParameter) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for AuthParameter
impl PartialEq for AuthParameter
source§fn eq(&self, other: &AuthParameter) -> bool
fn eq(&self, other: &AuthParameter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AuthParameter
impl PartialOrd for AuthParameter
source§fn partial_cmp(&self, other: &AuthParameter) -> Option<Ordering>
fn partial_cmp(&self, other: &AuthParameter) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for AuthParameter
impl Serialize for AuthParameter
impl Copy for AuthParameter
impl Eq for AuthParameter
impl StructuralPartialEq for AuthParameter
Auto Trait Implementations§
impl Freeze for AuthParameter
impl RefUnwindSafe for AuthParameter
impl Send for AuthParameter
impl Sync for AuthParameter
impl Unpin for AuthParameter
impl UnwindSafe for AuthParameter
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.