Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Last active June 7, 2017 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/eb4430c64a38ee9b4b0ab42e5431ae57 to your computer and use it in GitHub Desktop.
Save matthieu-D/eb4430c64a38ee9b4b0ab42e5431ae57 to your computer and use it in GitHub Desktop.
getUserPool method
getUserPool() {
let self = this;
return new AWSCognito.CognitoIdentityServiceProvider.CognitoUserPool({
"UserPoolId": self.config.get('aws_user_pools_id'),
"ClientId": self.config.get('aws_user_pools_web_client_id')
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment