react-native-piano-oauth

1.1.0 • Public • Published

react-native-piano-oauth

Getting started

$ npm install react-native-piano-oauth --save

Mostly automatic installation

$ react-native link react-native-piano-oauth

Usage

import PianoOAuth from 'react-native-piano-oauth';

PianoOAuth.signInWithAID(
  '<AID>',
  'https://sandbox.tinypass.com',
  PianoOAuth.widgetType.register, // or .login
  (token) => {
    console.log(token);
  },
  () => {
    console.log("Login cancelled");
  },
);

Readme

Keywords

Package Sidebar

Install

npm i react-native-piano-oauth

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

33.6 kB

Total Files

11

Last publish

Collaborators

  • cisclub