Knock v1.5 Release Notes
Release Date: 2016-05-29 // almost 8 years ago-
โ Added
- Exception configuration option
Knock.not_found_exception_class_name
- Multiple entity authentication (e.g. User, Admin, etc)
- Possibility to have permanent tokens
- โ Adding config options for exception class
- ๐
Generator for token controller. E.g.
rails g knock:token_controller user
๐ Changed
- ๐ Deprecated
Authenticable#authenticate
in favor ofAuthenticable#authenticate_user
- ๐ Deprecated use of
Knock.current_user_from_token
in favor ofUser.from_token_payload
- ๐ Deprecated use of direct route to
AuthTokenController
in favor of generating a token controller - No need to mount the engine in
config/routes.rb
anymore
- Exception configuration option