From 9483c98dd2f46f1c695d583d1b9bcd3b4d232bed Mon Sep 17 00:00:00 2001 From: dab246 Date: Wed, 12 Nov 2025 16:33:23 +0700 Subject: [PATCH] TF-4145 Add `workplaceFqdn` property in OidcUserInfo class --- model/lib/oidc/response/oidc_user_info.dart | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/model/lib/oidc/response/oidc_user_info.dart b/model/lib/oidc/response/oidc_user_info.dart index 2f202d6af..16d791a76 100644 --- a/model/lib/oidc/response/oidc_user_info.dart +++ b/model/lib/oidc/response/oidc_user_info.dart @@ -14,19 +14,26 @@ class OidcUserInfo with EquatableMixin { final String? name; + @JsonKey(name: 'preferred_username') + final String? preferredUsername; + @JsonKey(name: 'given_name') final String? givenName; @JsonKey(name: 'family_name') final String? familyName; + final String? workplaceFqdn; + const OidcUserInfo({ this.id, this.sub, this.name, + this.preferredUsername, this.givenName, this.familyName, this.email, + this.workplaceFqdn, }); /// Factory for creating object from JSON @@ -41,8 +48,10 @@ class OidcUserInfo with EquatableMixin { id, sub, name, + preferredUsername, givenName, familyName, email, + workplaceFqdn, ]; }