onsen-auth
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

onsen-auth

Onsen Auth Libarary

Install

$ npm install onsen-auth

Usage

import { getAuthorizationCode, getAccessToken } from 'onsen-auth'
 
const authorizationCode = await onsenAuth.getAuthorizationCode(
  'hi@example.com',
  'password'
)
const accessToken = await onsenAuth.getAccessToken(authorizationCode)
 
console.log(accessToken)

Readme

Keywords

Package Sidebar

Install

npm i onsen-auth

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

4.84 kB

Total Files

4

Last publish

Collaborators

  • p-chan