Class: AlisSdkRuby::Plugins::Authorizer::CustomAuthHandler Private
- Inherits:
-
Seahorse::Client::Handler
- Object
- Seahorse::Client::Handler
- AlisSdkRuby::Plugins::Authorizer::CustomAuthHandler
- 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
- #call(context) ⇒ Object private
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. = generate_token(context) end @handler.call(context) end |