pub enum TokenGrantType {
AuthorizationCode,
RefreshToken,
}Expand description
Grant for which a token endpoint request is authenticated.
Variants§
AuthorizationCode
Exchange an authorization code for tokens.
RefreshToken
Exchange a refresh token for new tokens.
Implementations§
Trait Implementations§
Source§impl Clone for TokenGrantType
impl Clone for TokenGrantType
impl Copy for TokenGrantType
Source§impl Debug for TokenGrantType
impl Debug for TokenGrantType
impl Eq for TokenGrantType
Source§impl PartialEq for TokenGrantType
impl PartialEq for TokenGrantType
impl StructuralPartialEq for TokenGrantType
Auto Trait Implementations§
impl Freeze for TokenGrantType
impl RefUnwindSafe for TokenGrantType
impl Send for TokenGrantType
impl Sync for TokenGrantType
impl Unpin for TokenGrantType
impl UnsafeUnpin for TokenGrantType
impl UnwindSafe for TokenGrantType
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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.