Class: AlisSdkRuby::Plugins::Authorizer::CustomAuthHandler Private

Inherits:
Seahorse::Client::Handler
  • Object
show all
Defined in:
lib/alis-sdk-ruby/plugins/authorizer.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#call(context) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



17
18
19
20
21
22
# File 'lib/alis-sdk-ruby/plugins/authorizer.rb', line 17

def call(context)
  if context.operation['authtype'] == 'custom'
    context.config.authorizer_token = generate_token(context)
  end
  @handler.call(context)
end