Sha256: a8c31a8317939aadd63588d267811ec73593b4add71ab7ab5f32ec7ab35d81d4

Contents?: true

Size: 689 Bytes

Versions: 12

Compression:

Stored size: 689 Bytes

Contents

require 'g5_authenticatable/engine'

require 'devise_g5_authenticatable'
require 'g5_authenticatable_api'
require 'g5_updatable'

module G5Authenticatable
  # When enabled, access tokens are always validated against the auth
  # server, even when that token is associated with an authenticated user.
  # Disabled by default, meaning that tokens are only validated if
  # they are explicitly passed in on an API request.
  @@strict_token_validation = false
  mattr_reader :strict_token_validation

  def self.strict_token_validation=(validate)
    @@strict_token_validation =
      G5AuthenticatableApi.strict_token_validation =
      Devise.g5_strict_token_validation = validate
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
g5_authenticatable-0.9.1.pre.2 lib/g5_authenticatable.rb
g5_authenticatable-0.8.1.pre lib/g5_authenticatable.rb
g5_authenticatable-0.8.0 lib/g5_authenticatable.rb
g5_authenticatable-0.8.0.beta1 lib/g5_authenticatable.rb
g5_authenticatable-0.7.5 lib/g5_authenticatable.rb
g5_authenticatable-0.7.5.beta lib/g5_authenticatable.rb
g5_authenticatable-0.7.4 lib/g5_authenticatable.rb
g5_authenticatable-0.7.4.beta.1 lib/g5_authenticatable.rb
g5_authenticatable-0.7.3 lib/g5_authenticatable.rb
g5_authenticatable-0.7.2 lib/g5_authenticatable.rb
g5_authenticatable-0.7.1 lib/g5_authenticatable.rb
g5_authenticatable-0.7.0 lib/g5_authenticatable.rb