pub enum OAuthFlows {
AuthorizationCode(AuthorizationCodeOAuthFlow),
ClientCredentials(ClientCredentialsOAuthFlow),
Implicit(ImplicitOAuthFlow),
Password(PasswordOAuthFlow),
DeviceCode(DeviceCodeOAuthFlow),
}Expand description
Supported OAuth 2.0 flow variants.
Variants§
AuthorizationCode(AuthorizationCodeOAuthFlow)
Authorization code flow.
ClientCredentials(ClientCredentialsOAuthFlow)
Client credentials flow.
Implicit(ImplicitOAuthFlow)
Implicit flow.
Password(PasswordOAuthFlow)
Resource owner password flow.
DeviceCode(DeviceCodeOAuthFlow)
Device code flow.
Trait Implementations§
Source§impl Clone for OAuthFlows
impl Clone for OAuthFlows
Source§fn clone(&self) -> OAuthFlows
fn clone(&self) -> OAuthFlows
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 OAuthFlows
impl Debug for OAuthFlows
Source§impl<'de> Deserialize<'de> for OAuthFlows
impl<'de> Deserialize<'de> for OAuthFlows
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
Auto Trait Implementations§
impl Freeze for OAuthFlows
impl RefUnwindSafe for OAuthFlows
impl Send for OAuthFlows
impl Sync for OAuthFlows
impl Unpin for OAuthFlows
impl UnsafeUnpin for OAuthFlows
impl UnwindSafe for OAuthFlows
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