1.0.9 • Published 8 years ago

radiokit-toolkit-auth v1.0.9

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

RadioKit JS Toolkit: Authentication

High-level JavaScript API for performing authentication against RadioKit systems.

Development

  • Clone the repo
  • Enter dir with the project
  • Install NPM packages: npm install

Building

  • Type npm run build-browser

Browser-compatible version will be located in dist/browser/.

Sample usage

Then you can type in the browser console e.g.

RadioKitToolkitAuth.Session.User.authenticateAsync('a@a.pl', 'pass')
  .then((session) => {
    console.log('accessToken', session.getAccessToken());
    console.log('user', session.getUser());
  })
  .error(reason) => {
    throw new reason;
  }

Authors

Marcin Lewandowski marcin@radiokit.org Tomasz Pałys tomasz.palys@swmansion.com

License

MIT

1.0.9

8 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago