Struct aws_sdk_appflow::types::OAuth2Properties
source · #[non_exhaustive]pub struct OAuth2Properties {
pub token_url: String,
pub o_auth2_grant_type: OAuth2GrantType,
pub token_url_custom_properties: Option<HashMap<String, String>>,
}Expand description
The OAuth 2.0 properties required for OAuth 2.0 authentication.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.token_url: StringThe token URL required for OAuth 2.0 authentication.
o_auth2_grant_type: OAuth2GrantTypeThe OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
token_url_custom_properties: Option<HashMap<String, String>>Associates your token URL with a map of properties that you define. Use this parameter to provide any additional details that the connector requires to authenticate your request.
Implementations§
source§impl OAuth2Properties
impl OAuth2Properties
sourcepub fn o_auth2_grant_type(&self) -> &OAuth2GrantType
pub fn o_auth2_grant_type(&self) -> &OAuth2GrantType
The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
source§impl OAuth2Properties
impl OAuth2Properties
sourcepub fn builder() -> OAuth2PropertiesBuilder
pub fn builder() -> OAuth2PropertiesBuilder
Creates a new builder-style object to manufacture OAuth2Properties.
Trait Implementations§
source§impl Clone for OAuth2Properties
impl Clone for OAuth2Properties
source§fn clone(&self) -> OAuth2Properties
fn clone(&self) -> OAuth2Properties
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 OAuth2Properties
impl Debug for OAuth2Properties
source§impl PartialEq for OAuth2Properties
impl PartialEq for OAuth2Properties
source§fn eq(&self, other: &OAuth2Properties) -> bool
fn eq(&self, other: &OAuth2Properties) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OAuth2Properties
Auto Trait Implementations§
impl Freeze for OAuth2Properties
impl RefUnwindSafe for OAuth2Properties
impl Send for OAuth2Properties
impl Sync for OAuth2Properties
impl Unpin for OAuth2Properties
impl UnwindSafe for OAuth2Properties
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.