Struct aws_sdk_appflow::types::OAuthProperties
source · #[non_exhaustive]pub struct OAuthProperties {
pub token_url: String,
pub auth_code_url: String,
pub o_auth_scopes: Vec<String>,
}
Expand description
The OAuth properties required for OAuth type authentication.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.token_url: String
The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.
auth_code_url: String
The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.
o_auth_scopes: Vec<String>
The OAuth scopes required for OAuth type authentication.
Implementations§
source§impl OAuthProperties
impl OAuthProperties
sourcepub fn token_url(&self) -> &str
pub fn token_url(&self) -> &str
The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.
sourcepub fn auth_code_url(&self) -> &str
pub fn auth_code_url(&self) -> &str
The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.
sourcepub fn o_auth_scopes(&self) -> &[String]
pub fn o_auth_scopes(&self) -> &[String]
The OAuth scopes required for OAuth type authentication.
source§impl OAuthProperties
impl OAuthProperties
sourcepub fn builder() -> OAuthPropertiesBuilder
pub fn builder() -> OAuthPropertiesBuilder
Creates a new builder-style object to manufacture OAuthProperties
.
Trait Implementations§
source§impl Clone for OAuthProperties
impl Clone for OAuthProperties
source§fn clone(&self) -> OAuthProperties
fn clone(&self) -> OAuthProperties
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OAuthProperties
impl Debug for OAuthProperties
source§impl PartialEq for OAuthProperties
impl PartialEq for OAuthProperties
source§fn eq(&self, other: &OAuthProperties) -> bool
fn eq(&self, other: &OAuthProperties) -> bool
self
and other
values to be equal, and is used
by ==
.