Sha256: a2871742011bee189189478b31ac3f317242e7730bf092ca6dc90b5b7cdf8b7f

Contents?: true

Size: 1.08 KB

Versions: 199

Compression:

Stored size: 1.08 KB

Contents

DeviseTokenAuth.setup do |config|
  # By default the authorization headers will change after each request. The
  # client is responsible for keeping track of the changing tokens. Change
  # this to false to prevent the Authorization header from changing after
  # each request.
  #config.change_headers_on_each_request = true

  # By default, users will need to re-authenticate after 2 weeks. This setting
  # determines how long tokens will remain valid after they are issued.
  #config.token_lifespan = 2.weeks

  # Sometimes it's necessary to make several requests to the API at the same
  # time. In this case, each request in the batch will need to share the same
  # auth token. This setting determines how far apart the requests can be while
  # still using the same auth token.
  #config.batch_request_buffer_throttle = 5.seconds

  # This route will be the prefix for all oauth2 redirect callbacks. For
  # example, using the default '/omniauth', the github oauth2 provider will
  # redirect successful authentications to '/omniauth/github/callback'
  #config.omniauth_prefix = "/omniauth"
end

Version data entries

199 entries across 82 versions & 4 rubygems

Version Path
devise_token_auth-0.1.43 test/dummy/config/initializers/devise_token_auth.rb
digix_devise_token_auth-0.1.44 test/dummy/config/initializers/devise_token_auth.rb
devise_token_auth-0.1.43.beta1 test/dummy/config/initializers/devise_token_auth.rb
devise_token_auth-0.1.42 test/dummy/config/initializers/devise_token_auth.rb
devise_token_auth-0.1.41 test/dummy/config/initializers/devise_token_auth.rb
devise_token_auth-0.1.40 test/dummy/config/initializers/devise_token_auth.rb
devise_token_auth-0.1.39 test/dummy/config/initializers/devise_token_auth.rb
devise_token_auth-0.1.38 test/dummy/config/initializers/devise_token_auth.rb
devise_token_auth-0.1.37 test/dummy/config/initializers/devise_token_auth.rb
xing_backend_token_auth-0.1.32 test/dummy/config/initializers/devise_token_auth.rb
xing_backend_token_auth-0.1.32 lib/generators/devise_token_auth/templates/devise_token_auth.rb
devise_token_auth-0.1.37.beta4 test/dummy/config/initializers/devise_token_auth.rb
cm-devise_token_auth-0.1.30.1 lib/generators/devise_token_auth/templates/devise_token_auth.rb
cm-devise_token_auth-0.1.30.1 test/dummy/config/initializers/devise_token_auth.rb
devise_token_auth-0.1.37.beta3 test/dummy/config/initializers/devise_token_auth.rb
devise_token_auth-0.1.37.beta2 test/dummy/config/initializers/devise_token_auth.rb
devise_token_auth-0.1.37.beta1 test/dummy/config/initializers/devise_token_auth.rb
devise_token_auth-0.1.36 test/dummy/config/initializers/devise_token_auth.rb
devise_token_auth-0.1.35 test/dummy/config/initializers/devise_token_auth.rb
devise_token_auth-0.1.34 test/dummy/config/initializers/devise_token_auth.rb