nativescript-cognito
TypeScript icon, indicating that this package has built-in type declarations

1.1.3-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

Package Sidebar

Install

npm i nativescript-cognito

Weekly Downloads

0

Version

1.1.3-alpha

License

Apache-2.0

Unpacked Size

1.82 MB

Total Files

23

Last publish

Collaborators

  • papmodern