Module: OmniAuth::Strategies::BoltDecorator

Defined in:
app/decorators/omniauth/strategies/bolt_decorator.rb

Overview

rubocop:disable Style/ClassAndModuleChildren

Instance Method Summary collapse

Instance Method Details

#callback_phaseObject



5
6
7
8
9
10
11
12
# File 'app/decorators/omniauth/strategies/bolt_decorator.rb', line 5

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