class Aws::Plugins::APIGAuthorizerToken::AuthTokenHandler
@api private
def call(context)
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