Nativescript Plugin for consuming AWS Cognito service both on android and iOS
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github commit Feb 3, 2019
demo Remove Platform declaration from PodFile Feb 17, 2019
publish solve ios getSession problem Feb 19, 2019
src solve ios getSession problem Feb 19, 2019
.gitignore commit Feb 3, 2019
.travis.yml commit Feb 3, 2019
LICENSE ds Feb 3, 2019
README.md commit Feb 3, 2019
tslint.json commit Feb 3, 2019

README.md

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