class Aws::Plugins::APIGAuthorizerToken::AuthTokenHandler
@api private
Public Instance Methods
call(context)
click to toggle source
# File lib/aws-sdk-core/plugins/apig_authorizer_token.rb, line 19 def call(context) if context.operation['authtype'] == 'custom' && context.config.authorizer_token && context.authorizer.placement[:location] == 'header' header = context.authorizer.placement[:name] context.http_request.headers[header] = context.config.authorizer_token end @handler.call(context) end