Struct aws_sdk_appflow::model::OAuth2Credentials
source · [−]#[non_exhaustive]pub struct OAuth2Credentials { /* private fields */ }Expand description
The OAuth 2.0 credentials required for OAuth 2.0 authentication.
Implementations
sourceimpl OAuth2Credentials
impl OAuth2Credentials
sourcepub fn client_secret(&self) -> Option<&str>
pub fn client_secret(&self) -> Option<&str>
The client secret used by the OAuth client to authenticate to the authorization server.
sourcepub fn access_token(&self) -> Option<&str>
pub fn access_token(&self) -> Option<&str>
The access token used to access the connector on your behalf.
sourcepub fn refresh_token(&self) -> Option<&str>
pub fn refresh_token(&self) -> Option<&str>
The refresh token used to refresh an expired access token.
sourcepub fn o_auth_request(&self) -> Option<&ConnectorOAuthRequest>
pub fn o_auth_request(&self) -> Option<&ConnectorOAuthRequest>
Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.
sourceimpl OAuth2Credentials
impl OAuth2Credentials
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OAuth2Credentials.
Trait Implementations
sourceimpl Clone for OAuth2Credentials
impl Clone for OAuth2Credentials
sourcefn clone(&self) -> OAuth2Credentials
fn clone(&self) -> OAuth2Credentials
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for OAuth2Credentials
impl Debug for OAuth2Credentials
sourceimpl PartialEq<OAuth2Credentials> for OAuth2Credentials
impl PartialEq<OAuth2Credentials> for OAuth2Credentials
sourcefn eq(&self, other: &OAuth2Credentials) -> bool
fn eq(&self, other: &OAuth2Credentials) -> bool
impl StructuralPartialEq for OAuth2Credentials
Auto Trait Implementations
impl RefUnwindSafe for OAuth2Credentials
impl Send for OAuth2Credentials
impl Sync for OAuth2Credentials
impl Unpin for OAuth2Credentials
impl UnwindSafe for OAuth2Credentials
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more