Skip to content

Services and HTTP interceptor for token based HTTP authentication

License

Notifications You must be signed in to change notification settings

incuna/angular-token-auth

Repository files navigation

angular-token-auth Build Status codecov

Installation

  1. bower install angular-token-auth --save
  2. Inject angular-token-auth in to your app module.
  3. Add a PROJECT_SETTINGS constant to your project_settings module.
  4. Define a list of allowed hosts in PROJECT_SETTINGS.TOKEN_AUTH.ALLOWED_HOSTS.

Releasing a new version

  1. Commit your changes.
  2. Run grunt build to generate the compiled template files
  3. Follow the guidelines at http://semver.org/ to determine your new version number.
  4. Update CHANGELOG.md with your new version number and a description of changes.
  5. Update the version property in bower.json and|or package.json
  6. Commit those changes with the commit message "Bump to [version number]". [version number] should be in the format x.y.z.
  7. git tag [version number]
  8. git push
  9. git push --tags - must be done separately.