pub struct AuthorizationCodeOAuthFlow {
pub authorization_url: String,
pub token_url: String,
pub refresh_url: Option<String>,
pub scopes: HashMap<String, String>,
pub pkce_required: Option<bool>,
}Expand description
Authorization Code OAuth flow.
Fields§
Authorization URL.
token_url: StringToken URL.
refresh_url: Option<String>Refresh URL.
scopes: HashMap<String, String>Available scopes.
pkce_required: Option<bool>Whether PKCE is required.
Trait Implementations§
Source§impl Clone for AuthorizationCodeOAuthFlow
impl Clone for AuthorizationCodeOAuthFlow
Source§fn clone(&self) -> AuthorizationCodeOAuthFlow
fn clone(&self) -> AuthorizationCodeOAuthFlow
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 AuthorizationCodeOAuthFlow
impl Debug for AuthorizationCodeOAuthFlow
Source§impl<'de> Deserialize<'de> for AuthorizationCodeOAuthFlow
impl<'de> Deserialize<'de> for AuthorizationCodeOAuthFlow
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
impl StructuralPartialEq for AuthorizationCodeOAuthFlow
Auto Trait Implementations§
impl Freeze for AuthorizationCodeOAuthFlow
impl RefUnwindSafe for AuthorizationCodeOAuthFlow
impl Send for AuthorizationCodeOAuthFlow
impl Sync for AuthorizationCodeOAuthFlow
impl Unpin for AuthorizationCodeOAuthFlow
impl UnsafeUnpin for AuthorizationCodeOAuthFlow
impl UnwindSafe for AuthorizationCodeOAuthFlow
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