-
Notifications
You must be signed in to change notification settings - Fork 498
Expand file tree
/
Copy pathAppSyncCognitoIdentity.cs
More file actions
42 lines (35 loc) · 1.07 KB
/
AppSyncCognitoIdentity.cs
File metadata and controls
42 lines (35 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
namespace Amazon.Lambda.AppSyncEvents;
/// <summary>
/// Represents Amazon Cognito User Pools authorization identity for AppSync
/// </summary>
public class AppSyncCognitoIdentity
{
/// <summary>
/// The source IP address of the caller received by AWS AppSync
/// </summary>
public List<string> SourceIp { get; set; }
/// <summary>
/// The username of the authenticated user
/// </summary>
public string Username { get; set; }
/// <summary>
/// The UUID of the authenticated user
/// </summary>
public string Sub { get; set; }
/// <summary>
/// The claims that the user has
/// </summary>
public Dictionary<string, object> Claims { get; set; }
/// <summary>
/// The default authorization strategy for this caller (ALLOW or DENY)
/// </summary>
public string DefaultAuthStrategy { get; set; }
/// <summary>
/// List of OIDC groups
/// </summary>
public List<string> Groups { get; set; }
/// <summary>
/// The token issuer
/// </summary>
public string Issuer { get; set; }
}