#[non_exhaustive]pub struct CreateBackendAuthOAuthConfig {
pub domain_prefix: Option<String>,
pub o_auth_grant_type: Option<OAuthGrantType>,
pub o_auth_scopes: Option<Vec<OAuthScopesElement>>,
pub redirect_sign_in_ur_is: Option<Vec<String>>,
pub redirect_sign_out_ur_is: Option<Vec<String>>,
pub social_provider_settings: Option<SocialProviderSettings>,
}
Expand description
Creates the OAuth configuration for your Amplify project.
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.domain_prefix: Option<String>
The domain prefix for your Amplify app.
o_auth_grant_type: Option<OAuthGrantType>
The OAuth grant type that you use to allow app users to authenticate from your Amplify app.
o_auth_scopes: Option<Vec<OAuthScopesElement>>
List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.
redirect_sign_in_ur_is: Option<Vec<String>>
The redirected URI for signing in to your Amplify app.
redirect_sign_out_ur_is: Option<Vec<String>>
Redirect URLs that OAuth uses when a user signs out of an Amplify app.
The settings for using social providers to access your Amplify app.
Implementations
sourceimpl CreateBackendAuthOAuthConfig
impl CreateBackendAuthOAuthConfig
sourcepub fn domain_prefix(&self) -> Option<&str>
pub fn domain_prefix(&self) -> Option<&str>
The domain prefix for your Amplify app.
sourcepub fn o_auth_grant_type(&self) -> Option<&OAuthGrantType>
pub fn o_auth_grant_type(&self) -> Option<&OAuthGrantType>
The OAuth grant type that you use to allow app users to authenticate from your Amplify app.
sourcepub fn o_auth_scopes(&self) -> Option<&[OAuthScopesElement]>
pub fn o_auth_scopes(&self) -> Option<&[OAuthScopesElement]>
List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.
sourcepub fn redirect_sign_in_ur_is(&self) -> Option<&[String]>
pub fn redirect_sign_in_ur_is(&self) -> Option<&[String]>
The redirected URI for signing in to your Amplify app.
sourcepub fn redirect_sign_out_ur_is(&self) -> Option<&[String]>
pub fn redirect_sign_out_ur_is(&self) -> Option<&[String]>
Redirect URLs that OAuth uses when a user signs out of an Amplify app.
The settings for using social providers to access your Amplify app.
sourceimpl CreateBackendAuthOAuthConfig
impl CreateBackendAuthOAuthConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateBackendAuthOAuthConfig
Trait Implementations
sourceimpl Clone for CreateBackendAuthOAuthConfig
impl Clone for CreateBackendAuthOAuthConfig
sourcefn clone(&self) -> CreateBackendAuthOAuthConfig
fn clone(&self) -> CreateBackendAuthOAuthConfig
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 CreateBackendAuthOAuthConfig
impl Debug for CreateBackendAuthOAuthConfig
sourceimpl PartialEq<CreateBackendAuthOAuthConfig> for CreateBackendAuthOAuthConfig
impl PartialEq<CreateBackendAuthOAuthConfig> for CreateBackendAuthOAuthConfig
sourcefn eq(&self, other: &CreateBackendAuthOAuthConfig) -> bool
fn eq(&self, other: &CreateBackendAuthOAuthConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateBackendAuthOAuthConfig) -> bool
fn ne(&self, other: &CreateBackendAuthOAuthConfig) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateBackendAuthOAuthConfig
Auto Trait Implementations
impl RefUnwindSafe for CreateBackendAuthOAuthConfig
impl Send for CreateBackendAuthOAuthConfig
impl Sync for CreateBackendAuthOAuthConfig
impl Unpin for CreateBackendAuthOAuthConfig
impl UnwindSafe for CreateBackendAuthOAuthConfig
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