devise-api 0.1.3
The devise-api gem is a convenient way to add authentication to your Ruby on Rails application using the devise gem. It provides support for access tokens and refresh tokens, which allow you to authenticate API requests and keep the user's session active for a longer period of time on the client side. It can be installed by adding the gem to your Gemfile, running migrations, and adding the :api module to your devise model. The gem is fully configurable, allowing you to set things like token expiration times and token generators.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (6):
devise
>= 4.7.2
dry-configurable
~> 1.0, >= 1.0.1
dry-initializer
>= 3.1.1
dry-monads
>= 1.6.0
dry-types
>= 1.7.0
rails
>= 6.0.0