nativescript-cognito
Use AWS Cognito service in android and ios through nativescipt. Clouding co. http://clouding.ca
npm i --save nativescript-cognito
- Version: 1.1.3-alpha
- GitHub:
- NPM: https://www.npmjs.com/package/nativescript-cognito
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
Nativescript-cognito
Consume aws cognito service with nativescript. Android and iOS Clouding co. http://clouding.ca
Installation
Describe your plugin installation steps. Ideally it would be something like:
tns plugin add nativescript-cognito
Usage
const cognito = new Cognito("Your user pool id", "your client id");
cognito.authenticate(username, password).then(token => ...)
cognito.signUp(username, password, {
name: "Name",
email: "Email",
phone: "Phone",
...
}).then(res => ...)
cognito.confirmRegistration(username, code).then(username => {})
...
License
MIT License Copyright (c) 2019