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