We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa72a0b commit 4250e4fCopy full SHA for 4250e4f
1 file changed
lambda-appsync/src/lib.rs
@@ -199,6 +199,17 @@ pub struct AppsyncIdentityIam {
199
/// Identity information for OIDC-authenticated requests.
200
#[derive(Debug, Deserialize)]
201
pub struct AppsyncIdentityOidc {
202
+ /// The claims
203
+ pub claims: AppsyncIdentityOidcClaims,
204
+ /// The subject (usually the user identifier)
205
+ pub sub: String,
206
+ /// Token audience
207
+ pub issuer: String,
208
+}
209
+
210
+/// Claims information for OIDC-authenticated requests.
211
+#[derive(Debug, Deserialize)]
212
+pub struct AppsyncIdentityOidcClaims {
213
/// The issuer of the token
214
pub iss: String,
215
/// The subject (usually the user identifier)
0 commit comments