Wondering what’s next for npm?Check out our public roadmap! »

    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)

    Keywords

    Install

    npm i onsen-auth

    DownloadsWeekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    4.84 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar