struct

AWSLambdaEvents::APIGateway::Authorizer::SimpleResponse

Inherits JSON::Serializable < Struct < Value < Object

Simple ("yes/no") response for HTTP API V2 authorizers

Constructors

new(authorized : Bool, context : Hash(String, JSON::Any) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

authorized=(authorized : Bool)
Source
authorized?
Source
context
Source
context=(context : Hash(String, JSON::Any) | Nil)
Source