Sha256: b6f71968f823b720eacb7d28c85b0914db2005065c88f666f9277d8ca000c6c1

Contents?: true

Size: 1.08 KB

Versions: 21

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 = false

  # 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

21 entries across 21 versions & 1 rubygems

Version Path
xing-framework-1.0.0.pre.beta.1 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-1.0.0.pre.beta default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-1.0.0.pre.alpha default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.3.2 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.3.1 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.3.0 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.2.9 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.2.9.beta1 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.2.8 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.2.8.beta1 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.2.7 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.2.7.pre.beta1 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.2.6 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.2.5 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.2.4 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.2.3 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.2.2 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.2.1 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.2.0 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb
xing-framework-0.0.3 default_configuration/base_app/backend/config/initializers/devise_token_auth.rb