pub enum AuthorizationRequestMode {
StandardPkce,
LegacyCode,
}Expand description
Provider-specific authorization request shape.
Variants§
StandardPkce
Standard OAuth 2.0 Authorization Code + PKCE request.
LegacyCode
Legacy request shape that includes code=true.
Trait Implementations§
Source§impl Clone for AuthorizationRequestMode
impl Clone for AuthorizationRequestMode
Source§fn clone(&self) -> AuthorizationRequestMode
fn clone(&self) -> AuthorizationRequestMode
Returns a duplicate 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 AuthorizationRequestMode
impl Debug for AuthorizationRequestMode
Source§impl Default for AuthorizationRequestMode
impl Default for AuthorizationRequestMode
Source§fn default() -> AuthorizationRequestMode
fn default() -> AuthorizationRequestMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for AuthorizationRequestMode
impl PartialEq for AuthorizationRequestMode
impl Copy for AuthorizationRequestMode
impl Eq for AuthorizationRequestMode
impl StructuralPartialEq for AuthorizationRequestMode
Auto Trait Implementations§
impl Freeze for AuthorizationRequestMode
impl RefUnwindSafe for AuthorizationRequestMode
impl Send for AuthorizationRequestMode
impl Sync for AuthorizationRequestMode
impl Unpin for AuthorizationRequestMode
impl UnsafeUnpin for AuthorizationRequestMode
impl UnwindSafe for AuthorizationRequestMode
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.