npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

nativescript-cognito

1.1.2-alpha • Public • Published

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

install

npm i nativescript-cognito

Downloadsweekly downloads

129

version

1.1.2-alpha

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability