#[non_exhaustive]pub struct CreateBackendAuthOAuthConfig { /* private fields */ }
Expand description
Creates the OAuth configuration for your Amplify project.
Implementations§
source§impl 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.
source§impl CreateBackendAuthOAuthConfig
impl CreateBackendAuthOAuthConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateBackendAuthOAuthConfig
.
Trait Implementations§
source§impl Clone for CreateBackendAuthOAuthConfig
impl Clone for CreateBackendAuthOAuthConfig
source§fn clone(&self) -> CreateBackendAuthOAuthConfig
fn clone(&self) -> CreateBackendAuthOAuthConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateBackendAuthOAuthConfig
impl Debug for CreateBackendAuthOAuthConfig
source§impl PartialEq<CreateBackendAuthOAuthConfig> for CreateBackendAuthOAuthConfig
impl PartialEq<CreateBackendAuthOAuthConfig> for CreateBackendAuthOAuthConfig
source§fn 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 ==
.