List of usage examples for com.amazonaws.services.cognitoidp AWSCognitoIdentityProviderClient AWSCognitoIdentityProviderClient
AWSCognitoIdentityProviderClient(AwsSyncClientParams clientParams, boolean endpointDiscoveryEnabled)
From source file:io.fineo.client.auth.cognito.CognitoUserPool.java
License:Open Source License
/** * Constructs a user-pool with default {@link ClientConfiguration}. * * @param userPoolId REQUIRED: User-pool-Id of the user-pool. * @param clientId REQUIRED: Client-Id generated for this app and user-pool at the * Cognito Identity Provider developer console. * @param clientSecret REQUIRED: Client Secret generated for this app and user-pool at * the Cognito Identity Provider developer console. *//*from w w w . ja va 2 s.c om*/ public CognitoUserPool(String userPoolId, String clientId, String clientSecret) { this.userPoolId = userPoolId; this.clientId = clientId; this.clientSecret = clientSecret; this.client = new AWSCognitoIdentityProviderClient(new AnonymousAWSCredentials(), new ClientConfiguration()); }