@@ -21,6 +21,35 @@ public class GetUserAccessTokenResponse : ResponseBase
21
21
public string Type { get ; set ; }
22
22
23
23
[ DataMember ( Name = "authentication" ) ]
24
- public AuthenticateResponse Authentication { get ; set ; }
24
+ public Authentication Authentication { get ; set ; }
25
+ }
26
+
27
+ public class Authentication : ResponseBase
28
+ {
29
+ [ DataMember ( Name = "email" ) ]
30
+ public string Email { get ; internal set ; }
31
+
32
+ [ DataMember ( Name = "full_name" ) ]
33
+ public string FullName { get ; internal set ; }
34
+
35
+ [ DataMember ( Name = "metadata" ) ]
36
+ public IReadOnlyDictionary < string , object > Metadata { get ; internal set ; }
37
+ = EmptyReadOnly < string , object > . Dictionary ;
38
+
39
+ [ DataMember ( Name = "roles" ) ]
40
+ public IReadOnlyCollection < string > Roles { get ; internal set ; }
41
+ = EmptyReadOnly < string > . Collection ;
42
+
43
+ [ DataMember ( Name = "username" ) ]
44
+ public string Username { get ; internal set ; }
45
+
46
+ [ DataMember ( Name = "authentication_realm" ) ]
47
+ public RealmInfo AuthenticationRealm { get ; internal set ; }
48
+
49
+ [ DataMember ( Name = "lookup_realm" ) ]
50
+ public RealmInfo LookupRealm { get ; internal set ; }
51
+
52
+ [ DataMember ( Name = "authentication_type" ) ]
53
+ public string AuthenticationType { get ; internal set ; }
25
54
}
26
55
}
0 commit comments