Struct google_connectors1::api::Oauth2AuthCodeFlow
source · pub struct Oauth2AuthCodeFlow {
pub auth_code: Option<String>,
pub auth_uri: Option<String>,
pub client_id: Option<String>,
pub client_secret: Option<Secret>,
pub enable_pkce: Option<bool>,
pub pkce_verifier: Option<String>,
pub redirect_uri: Option<String>,
pub scopes: Option<Vec<String>>,
}
Expand description
Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
This type is not used in any activity, and only used as part of another schema.
Fields§
§auth_code: Option<String>
Authorization code to be exchanged for access and refresh tokens.
auth_uri: Option<String>
Auth URL for Authorization Code Flow
client_id: Option<String>
Client ID for user-provided OAuth app.
client_secret: Option<Secret>
Client secret for user-provided OAuth app.
enable_pkce: Option<bool>
Whether to enable PKCE when the user performs the auth code flow.
pkce_verifier: Option<String>
PKCE verifier to be used during the auth code exchange.
redirect_uri: Option<String>
Redirect URI to be provided during the auth code exchange.
scopes: Option<Vec<String>>
Scopes the connection will request when the user performs the auth code flow.
Trait Implementations§
source§impl Clone for Oauth2AuthCodeFlow
impl Clone for Oauth2AuthCodeFlow
source§fn clone(&self) -> Oauth2AuthCodeFlow
fn clone(&self) -> Oauth2AuthCodeFlow
Returns a copy 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 Oauth2AuthCodeFlow
impl Debug for Oauth2AuthCodeFlow
source§impl Default for Oauth2AuthCodeFlow
impl Default for Oauth2AuthCodeFlow
source§fn default() -> Oauth2AuthCodeFlow
fn default() -> Oauth2AuthCodeFlow
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Oauth2AuthCodeFlow
impl<'de> Deserialize<'de> for Oauth2AuthCodeFlow
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 Serialize for Oauth2AuthCodeFlow
impl Serialize for Oauth2AuthCodeFlow
impl Part for Oauth2AuthCodeFlow
Auto Trait Implementations§
impl RefUnwindSafe for Oauth2AuthCodeFlow
impl Send for Oauth2AuthCodeFlow
impl Sync for Oauth2AuthCodeFlow
impl Unpin for Oauth2AuthCodeFlow
impl UnwindSafe for Oauth2AuthCodeFlow
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