@imperium/auth-client
Imperium Auth client package
Last updated a month ago by darkadept .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @imperium/auth-client 
SYNC missed versions from official npm registry.

@imperium/auth-client

Coverage_badge GitHub tag GitHub issues GitHub pull-requests

GitHub license GitHub contributors

Environment Variables

These can be specified in a .env file in the client package. These are also not secret as they are included in the client build and available on the client.

Variable Default Description
SERVER_PROTOCOL 'http' What protocol the server is accessible at.
SERVER_HOST 'localhost' What host the server is accessible at.
SERVER_PORT 4001 What port the server is accessible at.
AUTH_LOGIN_URL '/api/login' What the login endpoint is accessible at.
AUTH_REFRESH_URL '/api/refresh' What the refresh endpoint is accessible at.
AUTH_FORGOTPASSWORD_URL '/api/forgot-password' What the forgot password endpoint is accessible at.
AUTH_ACCESS_TOKEN_KEY 'access' The local storage key that the access token is stored at.
AUTH_ID_KEY 'id' The local storage key that the id is stored at.

Current Tags

  • 4.0.10-alpha.2                                ...           canary (2 days ago)
  • 4.0.8                                ...           latest (a month ago)

10 Versions

  • 4.0.10-alpha.2                                ...           2 days ago
  • 4.0.10-alpha.0                                ...           12 days ago
  • 4.0.8-alpha.1                                ...           a month ago
  • 4.0.8                                ...           a month ago
  • 4.0.7-alpha.16                                ...           a month ago
  • 4.0.7                                ...           a month ago
  • 4.0.7-alpha.8                                ...           2 months ago
  • 4.0.6                                ...           3 months ago
  • 4.0.5                                ...           3 months ago
  • 4.0.4                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 16
This Month 33
Last Day 16
Last Week 0
Last Month 59
Dependencies (7)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |