Method: Doorkeeper::Config::Builder#use_refresh_token
- Defined in:
- lib/doorkeeper/config.rb
#use_refresh_token(enabled = true, &block) ⇒ Object
Issue access tokens with refresh token (disabled if not set)
88 89 90 91 92 93 |
# File 'lib/doorkeeper/config.rb', line 88 def use_refresh_token(enabled = true, &block) @config.instance_variable_set( :@refresh_token_enabled, block || enabled, ) end |