Struct openapi_schema::OAuthFlow
source · 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
source§impl PartialEq<OAuthFlow> for OAuthFlow
impl PartialEq<OAuthFlow> for OAuthFlow
impl StructuralPartialEq for OAuthFlow
Auto Trait Implementations§
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