@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateBackendAuthOAuthConfig extends Object implements Serializable, Cloneable, StructuredPojo
The OAuth configurations for authenticating users into your Amplify app.
| Constructor and Description |
|---|
UpdateBackendAuthOAuthConfig() |
| Modifier and Type | Method and Description |
|---|---|
UpdateBackendAuthOAuthConfig |
clone() |
boolean |
equals(Object obj) |
String |
getDomainPrefix()
The Amazon Cognito domain prefix used to create a hosted UI for authentication.
|
String |
getOAuthGrantType()
The OAuth grant type to allow app users to authenticate from your Amplify app.
|
List<String> |
getOAuthScopes()
The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
|
List<String> |
getRedirectSignInURIs()
Redirect URLs that OAuth uses when a user signs in to an Amplify app.
|
List<String> |
getRedirectSignOutURIs()
Redirect URLs that OAuth uses when a user signs out of an Amplify app.
|
SocialProviderSettings |
getSocialProviderSettings()
Describes third-party social federation configurations for allowing your users to sign in with OAuth.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDomainPrefix(String domainPrefix)
The Amazon Cognito domain prefix used to create a hosted UI for authentication.
|
void |
setOAuthGrantType(String oAuthGrantType)
The OAuth grant type to allow app users to authenticate from your Amplify app.
|
void |
setOAuthScopes(Collection<String> oAuthScopes)
The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
|
void |
setRedirectSignInURIs(Collection<String> redirectSignInURIs)
Redirect URLs that OAuth uses when a user signs in to an Amplify app.
|
void |
setRedirectSignOutURIs(Collection<String> redirectSignOutURIs)
Redirect URLs that OAuth uses when a user signs out of an Amplify app.
|
void |
setSocialProviderSettings(SocialProviderSettings socialProviderSettings)
Describes third-party social federation configurations for allowing your users to sign in with OAuth.
|
String |
toString()
Returns a string representation of this object.
|
UpdateBackendAuthOAuthConfig |
withDomainPrefix(String domainPrefix)
The Amazon Cognito domain prefix used to create a hosted UI for authentication.
|
UpdateBackendAuthOAuthConfig |
withOAuthGrantType(OAuthGrantType oAuthGrantType)
The OAuth grant type to allow app users to authenticate from your Amplify app.
|
UpdateBackendAuthOAuthConfig |
withOAuthGrantType(String oAuthGrantType)
The OAuth grant type to allow app users to authenticate from your Amplify app.
|
UpdateBackendAuthOAuthConfig |
withOAuthScopes(Collection<String> oAuthScopes)
The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
|
UpdateBackendAuthOAuthConfig |
withOAuthScopes(OAuthScopesElement... oAuthScopes)
The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
|
UpdateBackendAuthOAuthConfig |
withOAuthScopes(String... oAuthScopes)
The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
|
UpdateBackendAuthOAuthConfig |
withRedirectSignInURIs(Collection<String> redirectSignInURIs)
Redirect URLs that OAuth uses when a user signs in to an Amplify app.
|
UpdateBackendAuthOAuthConfig |
withRedirectSignInURIs(String... redirectSignInURIs)
Redirect URLs that OAuth uses when a user signs in to an Amplify app.
|
UpdateBackendAuthOAuthConfig |
withRedirectSignOutURIs(Collection<String> redirectSignOutURIs)
Redirect URLs that OAuth uses when a user signs out of an Amplify app.
|
UpdateBackendAuthOAuthConfig |
withRedirectSignOutURIs(String... redirectSignOutURIs)
Redirect URLs that OAuth uses when a user signs out of an Amplify app.
|
UpdateBackendAuthOAuthConfig |
withSocialProviderSettings(SocialProviderSettings socialProviderSettings)
Describes third-party social federation configurations for allowing your users to sign in with OAuth.
|
public void setDomainPrefix(String domainPrefix)
The Amazon Cognito domain prefix used to create a hosted UI for authentication.
domainPrefix - The Amazon Cognito domain prefix used to create a hosted UI for authentication.public String getDomainPrefix()
The Amazon Cognito domain prefix used to create a hosted UI for authentication.
public UpdateBackendAuthOAuthConfig withDomainPrefix(String domainPrefix)
The Amazon Cognito domain prefix used to create a hosted UI for authentication.
domainPrefix - The Amazon Cognito domain prefix used to create a hosted UI for authentication.public void setOAuthGrantType(String oAuthGrantType)
The OAuth grant type to allow app users to authenticate from your Amplify app.
oAuthGrantType - The OAuth grant type to allow app users to authenticate from your Amplify app.OAuthGrantTypepublic String getOAuthGrantType()
The OAuth grant type to allow app users to authenticate from your Amplify app.
OAuthGrantTypepublic UpdateBackendAuthOAuthConfig withOAuthGrantType(String oAuthGrantType)
The OAuth grant type to allow app users to authenticate from your Amplify app.
oAuthGrantType - The OAuth grant type to allow app users to authenticate from your Amplify app.OAuthGrantTypepublic UpdateBackendAuthOAuthConfig withOAuthGrantType(OAuthGrantType oAuthGrantType)
The OAuth grant type to allow app users to authenticate from your Amplify app.
oAuthGrantType - The OAuth grant type to allow app users to authenticate from your Amplify app.OAuthGrantTypepublic List<String> getOAuthScopes()
The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
OAuthScopesElementpublic void setOAuthScopes(Collection<String> oAuthScopes)
The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
oAuthScopes - The list of OAuth-related flows that can allow users to authenticate from your Amplify app.OAuthScopesElementpublic UpdateBackendAuthOAuthConfig withOAuthScopes(String... oAuthScopes)
The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
NOTE: This method appends the values to the existing list (if any). Use
setOAuthScopes(java.util.Collection) or withOAuthScopes(java.util.Collection) if you want to
override the existing values.
oAuthScopes - The list of OAuth-related flows that can allow users to authenticate from your Amplify app.OAuthScopesElementpublic UpdateBackendAuthOAuthConfig withOAuthScopes(Collection<String> oAuthScopes)
The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
oAuthScopes - The list of OAuth-related flows that can allow users to authenticate from your Amplify app.OAuthScopesElementpublic UpdateBackendAuthOAuthConfig withOAuthScopes(OAuthScopesElement... oAuthScopes)
The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
oAuthScopes - The list of OAuth-related flows that can allow users to authenticate from your Amplify app.OAuthScopesElementpublic List<String> getRedirectSignInURIs()
Redirect URLs that OAuth uses when a user signs in to an Amplify app.
public void setRedirectSignInURIs(Collection<String> redirectSignInURIs)
Redirect URLs that OAuth uses when a user signs in to an Amplify app.
redirectSignInURIs - Redirect URLs that OAuth uses when a user signs in to an Amplify app.public UpdateBackendAuthOAuthConfig withRedirectSignInURIs(String... redirectSignInURIs)
Redirect URLs that OAuth uses when a user signs in to an Amplify app.
NOTE: This method appends the values to the existing list (if any). Use
setRedirectSignInURIs(java.util.Collection) or withRedirectSignInURIs(java.util.Collection) if
you want to override the existing values.
redirectSignInURIs - Redirect URLs that OAuth uses when a user signs in to an Amplify app.public UpdateBackendAuthOAuthConfig withRedirectSignInURIs(Collection<String> redirectSignInURIs)
Redirect URLs that OAuth uses when a user signs in to an Amplify app.
redirectSignInURIs - Redirect URLs that OAuth uses when a user signs in to an Amplify app.public List<String> getRedirectSignOutURIs()
Redirect URLs that OAuth uses when a user signs out of an Amplify app.
public void setRedirectSignOutURIs(Collection<String> redirectSignOutURIs)
Redirect URLs that OAuth uses when a user signs out of an Amplify app.
redirectSignOutURIs - Redirect URLs that OAuth uses when a user signs out of an Amplify app.public UpdateBackendAuthOAuthConfig withRedirectSignOutURIs(String... redirectSignOutURIs)
Redirect URLs that OAuth uses when a user signs out of an Amplify app.
NOTE: This method appends the values to the existing list (if any). Use
setRedirectSignOutURIs(java.util.Collection) or withRedirectSignOutURIs(java.util.Collection)
if you want to override the existing values.
redirectSignOutURIs - Redirect URLs that OAuth uses when a user signs out of an Amplify app.public UpdateBackendAuthOAuthConfig withRedirectSignOutURIs(Collection<String> redirectSignOutURIs)
Redirect URLs that OAuth uses when a user signs out of an Amplify app.
redirectSignOutURIs - Redirect URLs that OAuth uses when a user signs out of an Amplify app.public void setSocialProviderSettings(SocialProviderSettings socialProviderSettings)
Describes third-party social federation configurations for allowing your users to sign in with OAuth.
socialProviderSettings - Describes third-party social federation configurations for allowing your users to sign in with OAuth.public SocialProviderSettings getSocialProviderSettings()
Describes third-party social federation configurations for allowing your users to sign in with OAuth.
public UpdateBackendAuthOAuthConfig withSocialProviderSettings(SocialProviderSettings socialProviderSettings)
Describes third-party social federation configurations for allowing your users to sign in with OAuth.
socialProviderSettings - Describes third-party social federation configurations for allowing your users to sign in with OAuth.public String toString()
toString in class ObjectObject.toString()public UpdateBackendAuthOAuthConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.