This repository has been archived by the owner on Mar 22, 2021. It is now read-only.
Releases: nsarno/knock
Releases · nsarno/knock
[1.4.2] - 2016-01-29
[1.4.1] - 2016-01-08
Fixed
- Use lambda for audience verification
[1.4] - 2016-01-02
Changed
- Allow use of rails versions above 4.2
Added
- Travis integration
- Contribution guidelines
- URL authentication
- Allow use of different encoding algorithm
- Expose
current_user
in the controllers without authenticating
Fixed
- Audience verification in token
- Use lambda syntax compatible with older ruby versions
- A few typos
[1.3] - 2015-07-23
Added
- Configuration option for how the current_user is retrieved when signing in.
- Configuration option for the handle attribute (email by default).
[1.2.0] - 2015-07-16
[1.1.0] - 2015-07-15
Added
Knock.token_lifetime
configuration variableKnock.token_secret_signature_key
configuration variableKnock.token_audience
configuration variable- audience claim verification when decoding token
Knock.setup
method for configuration inknock.rb
initializer- generator for initializer (rails g knock:install)
[1.0.0] - 2015-07-14
Added
Knock::Authenticable
to secure endpoints withbefore_action :authenticate
AuthToken
model provides JWT encapsulationAuthTokenController
provides out of the box sign in implementation