@Stability(value=Experimental) public static final class UserPoolClientOptions.Builder extends Object implements software.amazon.jsii.Builder<UserPoolClientOptions>
UserPoolClientOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public UserPoolClientOptions.Builder authFlows(AuthFlow authFlows)
UserPoolClientOptions.getAuthFlows()authFlows - The set of OAuth authentication flows to enable on the client.this@Stability(value=Experimental) public UserPoolClientOptions.Builder disableOAuth(Boolean disableOAuth)
UserPoolClientOptions.getDisableOAuth()disableOAuth - Turns off all OAuth interactions for this client.this@Stability(value=Experimental) public UserPoolClientOptions.Builder generateSecret(Boolean generateSecret)
UserPoolClientOptions.getGenerateSecret()generateSecret - Whether to generate a client secret.this@Stability(value=Experimental) public UserPoolClientOptions.Builder oAuth(OAuthSettings oAuth)
UserPoolClientOptions.getOAuth()oAuth - OAuth settings for this to client to interact with the app.
An error is thrown when this is specified and disableOAuth is set.this@Stability(value=Experimental) public UserPoolClientOptions.Builder preventUserExistenceErrors(Boolean preventUserExistenceErrors)
UserPoolClientOptions.getPreventUserExistenceErrors()preventUserExistenceErrors - Whether Cognito returns a UserNotFoundException exception when the user does not exist in the user pool (false), or whether it returns another type of error that doesn't reveal the user's absence.this@Stability(value=Experimental) public UserPoolClientOptions.Builder supportedIdentityProviders(List<? extends UserPoolClientIdentityProvider> supportedIdentityProviders)
UserPoolClientOptions.getSupportedIdentityProviders()supportedIdentityProviders - The list of identity providers that users should be able to use to sign in using this client.this@Stability(value=Experimental) public UserPoolClientOptions.Builder userPoolClientName(String userPoolClientName)
UserPoolClientOptions.getUserPoolClientName()userPoolClientName - Name of the application client.this@Stability(value=Experimental) public UserPoolClientOptions build()
build in interface software.amazon.jsii.Builder<UserPoolClientOptions>UserPoolClientOptionsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.