This SDK provides a convenient way to interact with the aws amplify authentication and create industry standard user pool management for your apis using AWS Amplify module framework.
To use the SDK, you can install it via npm:
npm install Cognito-Auth-contact
To use the SDK, follow these steps:
- Import the SDK into your project:
const CognitoAuthcontact = require('Cognito-Auth-contact-sdk');
- Create an instance of the SDK with your api key:
const sdk = Cognito-Auth-contact(apiKey);
- Example usage:
// Initialize the project
amplify init;
// Build the project
amplify build;
// implement cognito authentication
amplify auth;
// publish the complete app to amplify
amplify publish;
This SDK is released under the MIT License.