Class: AlisSdkRuby::Plugins::Authorizer

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

Overview

APIG Custom Authorizer, generated token will be used by API Gateway to interact with AWS Lambda for authentication

More information see: docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html

Defined Under Namespace

Classes: CustomAuthHandler

Instance Method Summary collapse

Instance Method Details

#add_handlers(handlers, config) ⇒ Object



10
11
12
# File 'lib/alis-sdk-ruby/plugins/authorizer.rb', line 10

def add_handlers(handlers, config)
  handlers.add(CustomAuthHandler, step: :initialize)
end