Struct aws_sdk_appflow::model::OAuthProperties
source · [−]#[non_exhaustive]pub struct OAuthProperties {
pub token_url: Option<String>,
pub auth_code_url: Option<String>,
pub o_auth_scopes: Option<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: Option<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: Option<String>
The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.
o_auth_scopes: Option<Vec<String>>
The OAuth scopes required for OAuth type authentication.
Implementations
sourceimpl OAuthProperties
impl OAuthProperties
sourcepub fn token_url(&self) -> Option<&str>
pub fn token_url(&self) -> Option<&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) -> Option<&str>
pub fn auth_code_url(&self) -> Option<&str>
The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.
sourceimpl OAuthProperties
impl OAuthProperties
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OAuthProperties
Trait Implementations
sourceimpl Clone for OAuthProperties
impl Clone for OAuthProperties
sourcefn clone(&self) -> OAuthProperties
fn clone(&self) -> OAuthProperties
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 more
sourceimpl Debug for OAuthProperties
impl Debug for OAuthProperties
sourceimpl PartialEq<OAuthProperties> for OAuthProperties
impl PartialEq<OAuthProperties> for OAuthProperties
sourcefn eq(&self, other: &OAuthProperties) -> bool
fn eq(&self, other: &OAuthProperties) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OAuthProperties) -> bool
fn ne(&self, other: &OAuthProperties) -> bool
This method tests for !=
.
impl StructuralPartialEq for OAuthProperties
Auto Trait Implementations
impl RefUnwindSafe for OAuthProperties
impl Send for OAuthProperties
impl Sync for OAuthProperties
impl Unpin for OAuthProperties
impl UnwindSafe for OAuthProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more