@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBackendAuthOAuthConfig extends Object implements Serializable, Cloneable, StructuredPojo
Creates the OAuth configuration for your Amplify project.
Constructor and Description |
---|
CreateBackendAuthOAuthConfig() |
Modifier and Type | Method and Description |
---|---|
CreateBackendAuthOAuthConfig |
clone() |
boolean |
equals(Object obj) |
String |
getDomainPrefix()
The domain prefix for your Amplify app.
|
String |
getOAuthGrantType()
The OAuth grant type which you use to allow app users to authenticate from your Amplify app.
|
List<String> |
getOAuthScopes()
List of OAuth related flows which use to allow your app users to authenticate from your Amplify app.
|
List<String> |
getRedirectSignInURIs()
The redirected URI for sigining into your Amplify app.
|
List<String> |
getRedirectSignOutURIs()
Redirect URLs used by OAuth when a user signs out of an Amplify app.
|
SocialProviderSettings |
getSocialProviderSettings()
The settings for using the social providers for access to your Amplify app.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDomainPrefix(String domainPrefix)
The domain prefix for your Amplify app.
|
void |
setOAuthGrantType(String oAuthGrantType)
The OAuth grant type which you use to allow app users to authenticate from your Amplify app.
|
void |
setOAuthScopes(Collection<String> oAuthScopes)
List of OAuth related flows which use to allow your app users to authenticate from your Amplify app.
|
void |
setRedirectSignInURIs(Collection<String> redirectSignInURIs)
The redirected URI for sigining into your Amplify app.
|
void |
setRedirectSignOutURIs(Collection<String> redirectSignOutURIs)
Redirect URLs used by OAuth when a user signs out of an Amplify app.
|
void |
setSocialProviderSettings(SocialProviderSettings socialProviderSettings)
The settings for using the social providers for access to your Amplify app.
|
String |
toString()
Returns a string representation of this object.
|
CreateBackendAuthOAuthConfig |
withDomainPrefix(String domainPrefix)
The domain prefix for your Amplify app.
|
CreateBackendAuthOAuthConfig |
withOAuthGrantType(OAuthGrantType oAuthGrantType)
The OAuth grant type which you use to allow app users to authenticate from your Amplify app.
|
CreateBackendAuthOAuthConfig |
withOAuthGrantType(String oAuthGrantType)
The OAuth grant type which you use to allow app users to authenticate from your Amplify app.
|
CreateBackendAuthOAuthConfig |
withOAuthScopes(Collection<String> oAuthScopes)
List of OAuth related flows which use to allow your app users to authenticate from your Amplify app.
|
CreateBackendAuthOAuthConfig |
withOAuthScopes(OAuthScopesElement... oAuthScopes)
List of OAuth related flows which use to allow your app users to authenticate from your Amplify app.
|
CreateBackendAuthOAuthConfig |
withOAuthScopes(String... oAuthScopes)
List of OAuth related flows which use to allow your app users to authenticate from your Amplify app.
|
CreateBackendAuthOAuthConfig |
withRedirectSignInURIs(Collection<String> redirectSignInURIs)
The redirected URI for sigining into your Amplify app.
|
CreateBackendAuthOAuthConfig |
withRedirectSignInURIs(String... redirectSignInURIs)
The redirected URI for sigining into your Amplify app.
|
CreateBackendAuthOAuthConfig |
withRedirectSignOutURIs(Collection<String> redirectSignOutURIs)
Redirect URLs used by OAuth when a user signs out of an Amplify app.
|
CreateBackendAuthOAuthConfig |
withRedirectSignOutURIs(String... redirectSignOutURIs)
Redirect URLs used by OAuth when a user signs out of an Amplify app.
|
CreateBackendAuthOAuthConfig |
withSocialProviderSettings(SocialProviderSettings socialProviderSettings)
The settings for using the social providers for access to your Amplify app.
|
public void setDomainPrefix(String domainPrefix)
The domain prefix for your Amplify app.
domainPrefix
- The domain prefix for your Amplify app.public String getDomainPrefix()
The domain prefix for your Amplify app.
public CreateBackendAuthOAuthConfig withDomainPrefix(String domainPrefix)
The domain prefix for your Amplify app.
domainPrefix
- The domain prefix for your Amplify app.public void setOAuthGrantType(String oAuthGrantType)
The OAuth grant type which you use to allow app users to authenticate from your Amplify app.
oAuthGrantType
- The OAuth grant type which you use to allow app users to authenticate from your Amplify app.OAuthGrantType
public String getOAuthGrantType()
The OAuth grant type which you use to allow app users to authenticate from your Amplify app.
OAuthGrantType
public CreateBackendAuthOAuthConfig withOAuthGrantType(String oAuthGrantType)
The OAuth grant type which you use to allow app users to authenticate from your Amplify app.
oAuthGrantType
- The OAuth grant type which you use to allow app users to authenticate from your Amplify app.OAuthGrantType
public CreateBackendAuthOAuthConfig withOAuthGrantType(OAuthGrantType oAuthGrantType)
The OAuth grant type which you use to allow app users to authenticate from your Amplify app.
oAuthGrantType
- The OAuth grant type which you use to allow app users to authenticate from your Amplify app.OAuthGrantType
public List<String> getOAuthScopes()
List of OAuth related flows which use to allow your app users to authenticate from your Amplify app.
OAuthScopesElement
public void setOAuthScopes(Collection<String> oAuthScopes)
List of OAuth related flows which use to allow your app users to authenticate from your Amplify app.
oAuthScopes
- List of OAuth related flows which use to allow your app users to authenticate from your Amplify app.OAuthScopesElement
public CreateBackendAuthOAuthConfig withOAuthScopes(String... oAuthScopes)
List of OAuth related flows which use to allow your app 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
- List of OAuth related flows which use to allow your app users to authenticate from your Amplify app.OAuthScopesElement
public CreateBackendAuthOAuthConfig withOAuthScopes(Collection<String> oAuthScopes)
List of OAuth related flows which use to allow your app users to authenticate from your Amplify app.
oAuthScopes
- List of OAuth related flows which use to allow your app users to authenticate from your Amplify app.OAuthScopesElement
public CreateBackendAuthOAuthConfig withOAuthScopes(OAuthScopesElement... oAuthScopes)
List of OAuth related flows which use to allow your app users to authenticate from your Amplify app.
oAuthScopes
- List of OAuth related flows which use to allow your app users to authenticate from your Amplify app.OAuthScopesElement
public List<String> getRedirectSignInURIs()
The redirected URI for sigining into your Amplify app.
public void setRedirectSignInURIs(Collection<String> redirectSignInURIs)
The redirected URI for sigining into your Amplify app.
redirectSignInURIs
- The redirected URI for sigining into your Amplify app.public CreateBackendAuthOAuthConfig withRedirectSignInURIs(String... redirectSignInURIs)
The redirected URI for sigining into your 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
- The redirected URI for sigining into your Amplify app.public CreateBackendAuthOAuthConfig withRedirectSignInURIs(Collection<String> redirectSignInURIs)
The redirected URI for sigining into your Amplify app.
redirectSignInURIs
- The redirected URI for sigining into your Amplify app.public List<String> getRedirectSignOutURIs()
Redirect URLs used by OAuth when a user signs out of an Amplify app.
public void setRedirectSignOutURIs(Collection<String> redirectSignOutURIs)
Redirect URLs used by OAuth when a user signs out of an Amplify app.
redirectSignOutURIs
- Redirect URLs used by OAuth when a user signs out of an Amplify app.public CreateBackendAuthOAuthConfig withRedirectSignOutURIs(String... redirectSignOutURIs)
Redirect URLs used by OAuth 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 used by OAuth when a user signs out of an Amplify app.public CreateBackendAuthOAuthConfig withRedirectSignOutURIs(Collection<String> redirectSignOutURIs)
Redirect URLs used by OAuth when a user signs out of an Amplify app.
redirectSignOutURIs
- Redirect URLs used by OAuth when a user signs out of an Amplify app.public void setSocialProviderSettings(SocialProviderSettings socialProviderSettings)
The settings for using the social providers for access to your Amplify app.
socialProviderSettings
- The settings for using the social providers for access to your Amplify app.public SocialProviderSettings getSocialProviderSettings()
The settings for using the social providers for access to your Amplify app.
public CreateBackendAuthOAuthConfig withSocialProviderSettings(SocialProviderSettings socialProviderSettings)
The settings for using the social providers for access to your Amplify app.
socialProviderSettings
- The settings for using the social providers for access to your Amplify app.public String toString()
toString
in class Object
Object.toString()
public CreateBackendAuthOAuthConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.