pub struct OAuthFlow {
pub authorization_url: String,
pub token_url: String,
pub refresh_url: Option<String>,
pub scopes: BTreeMap<String, String>,
}
Expand description
§OAuthFlow
Configuration details for a supported OAuth Flow
Fields§
The authorization URL to be used for this flow.
token_url: String
The token URL to be used for this flow.
refresh_url: Option<String>
The URL to be used for obtaining refresh tokens.
scopes: BTreeMap<String, String>
The available scopes for the OAuth2 security scheme.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OAuthFlow
impl<'de> Deserialize<'de> for OAuthFlow
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 OAuthFlow
Auto Trait Implementations§
impl Freeze for OAuthFlow
impl RefUnwindSafe for OAuthFlow
impl Send for OAuthFlow
impl Sync for OAuthFlow
impl Unpin for OAuthFlow
impl UnwindSafe for OAuthFlow
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