Repository navigation
How To: Simple Token Authentication Example
Jonathan PHILIPPE edited this page Oct 6, 2018
·
24 revisions
The TokenAuthenticatable strategy has been removed from Devise. As a consequence, the examples in this page are out of date.
See this gist by José Valim and some popular alternatives below.
Note: these examples are out of date.
(削除) Here is a blog post with some quick code snippets and a link to a quick example app on github. http://zyphdesignco.com/blog/simple-auth-token-example-with-devise (削除ここまで)
(削除) And here is another blog post with a detailed example: http://matteomelani.wordpress.com/2011/10/17/authentication-for-mobile-devices/ (削除ここまで)
- Devise::JWT - the only one with multiple token revocation strategies - whitelist, blacklist, none (just let it expire) and so forth
- Devise Token Auth
- Simple Token Authentication
- Tiddle
- Devise Token Authenticatable
- Make sure to read this gist by José Valim if you want to implement token authentication yourself.