Sha256: d3bf4ad4f39e676156d422af202bb802939fb606d325f9d0a375af4986102db0

Contents?: true

Size: 875 Bytes

Versions: 7

Compression:

Stored size: 875 Bytes

Contents

# frozen_string_literal: true

require 'devise_g5_authenticatable/version'

require 'devise'

require 'devise_g5_authenticatable/omniauth'
require 'devise_g5_authenticatable/routes'
require 'devise_g5_authenticatable/controllers/helpers'
require 'devise_g5_authenticatable/controllers/url_helpers'

require 'devise_g5_authenticatable/engine'

# Custom devise configuration options
module Devise
  # Should devise_g5_authenticatable validate the user's access token
  # against the auth server for every request? Default is false
  @@g5_strict_token_validation = false

  mattr_accessor :g5_strict_token_validation
end

Devise.add_module(:g5_authenticatable,
                  strategy: false,
                  route: { session: [nil, :new, :destroy] },
                  controller: :sessions,
                  model: 'devise_g5_authenticatable/models/g5_authenticatable')

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
devise_g5_authenticatable-1.0.3 lib/devise_g5_authenticatable.rb
devise_g5_authenticatable-1.0.2.rc.3 lib/devise_g5_authenticatable.rb
devise_g5_authenticatable-1.0.2.rc.2 lib/devise_g5_authenticatable.rb
devise_g5_authenticatable-1.0.2.rc.1 lib/devise_g5_authenticatable.rb
devise_g5_authenticatable-1.0.1.rc.1 lib/devise_g5_authenticatable.rb
devise_g5_authenticatable-1.0.0 lib/devise_g5_authenticatable.rb
devise_g5_authenticatable-1.0.0.pre.1 lib/devise_g5_authenticatable.rb