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: StringThe token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.
auth_code_url: StringThe 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 ==.impl StructuralPartialEq for OAuthProperties
Auto Trait Implementations§
impl Freeze for OAuthProperties
impl RefUnwindSafe for OAuthProperties
impl Send for OAuthProperties
impl Sync for OAuthProperties
impl Unpin for OAuthProperties
impl UnwindSafe for OAuthProperties
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more