Sha256: 1a0d9d4c635c7c6be1f5de8f688508787e9dee734395229e52e7a9c86857da18

Contents?: true

Size: 489 Bytes

Versions: 10

Compression:

Stored size: 489 Bytes

Contents

# frozen_string_literal: true

module SolidusBolt
  module OmniAuth::Strategies::BoltDecorator # rubocop:disable Style/ClassAndModuleChildren
    def callback_phase
      super.tap do
        session[:bolt_access_token] = @access_token
        session[:bolt_expiration_time] = @expiration_time
        session[:bolt_refresh_token] = @refresh_token
        session[:bolt_refresh_token_scope] = @refresh_token_scope
      end
    end

    ::OmniAuth::Strategies::Bolt.prepend self
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
solidus_bolt-0.7.2 app/decorators/omniauth/strategies/bolt_decorator.rb
solidus_bolt-0.7.1 app/decorators/omniauth/strategies/bolt_decorator.rb
solidus_bolt-0.7.0 app/decorators/omniauth/strategies/bolt_decorator.rb
solidus_bolt-0.6.0 app/decorators/omniauth/strategies/bolt_decorator.rb
solidus_bolt-0.5.0 app/decorators/omniauth/strategies/bolt_decorator.rb
solidus_bolt-0.4.0 app/decorators/omniauth/strategies/bolt_decorator.rb
solidus_bolt-0.3.0 app/decorators/omniauth/strategies/bolt_decorator.rb
solidus_bolt-0.2.0 app/decorators/omniauth/strategies/bolt_decorator.rb
solidus_bolt-0.1.0 app/decorators/omniauth/strategies/bolt_decorator.rb
solidus_bolt-0.0.1 app/decorators/omniauth/strategies/bolt_decorator.rb