nativescript-cognito
by papmodern | v1.1.3-alpha
Use AWS Cognito service in android and ios through nativescipt. Clouding co. http://clouding.ca
npm i --save nativescript-cognito

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