File tree 2 files changed +6
-2
lines changed 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ type APIGatewayWebsocketProxyRequestContext struct {
83
83
RequestID string `json:"requestId"`
84
84
Identity APIGatewayRequestIdentity `json:"identity"`
85
85
ResourcePath string `json:"resourcePath"`
86
- Authorizer string `json:"authorizer"`
86
+ Authorizer map [ string ] interface {} `json:"authorizer"`
87
87
HTTPMethod string `json:"httpMethod"`
88
88
APIID string `json:"apiId"` // The API Gateway rest API Id
89
89
ConnectedAt int64 `json:"connectedAt"`
Original file line number Diff line number Diff line change 81
81
"user" : " theUser"
82
82
},
83
83
"resourcePath" : " /{proxy+}" ,
84
- "authorizer" : " *" ,
84
+ "authorizer" : {
85
+ "principalId" : " admin" ,
86
+ "clientId" : 1 ,
87
+ "clientName" : " Exata"
88
+ },
85
89
"httpMethod" : " POST" ,
86
90
"apiId" : " gy415nuibc" ,
87
91
"connectedAt" : 1547230720092 ,
You can’t perform that action at this time.
0 commit comments