rename zone_info claim to zoneinfo

pull/1016/head
Misagh Moayyed 9 years ago committed by Justin Richer
parent 7badfe1d17
commit 3d14b0d128

@ -437,7 +437,7 @@ public class DefaultUserInfo implements UserInfo {
obj.addProperty("picture", this.getPicture());
obj.addProperty("website", this.getWebsite());
obj.addProperty("gender", this.getGender());
obj.addProperty("zone_info", this.getZoneinfo());
obj.addProperty("zoneinfo", this.getZoneinfo());
obj.addProperty("locale", this.getLocale());
obj.addProperty("updated_at", this.getUpdatedTime());
obj.addProperty("birthdate", this.getBirthdate());
@ -489,7 +489,7 @@ public class DefaultUserInfo implements UserInfo {
ui.setPicture(nullSafeGetString(obj, "picture"));
ui.setWebsite(nullSafeGetString(obj, "website"));
ui.setGender(nullSafeGetString(obj, "gender"));
ui.setZoneinfo(nullSafeGetString(obj, "zone_info"));
ui.setZoneinfo(nullSafeGetString(obj, "zoneinfo"));
ui.setLocale(nullSafeGetString(obj, "locale"));
ui.setUpdatedTime(nullSafeGetString(obj, "updated_at"));
ui.setBirthdate(nullSafeGetString(obj, "birthdate"));

@ -338,7 +338,7 @@ public class DiscoveryEndpoint {
"picture",
"website",
"gender",
"zone_info",
"zoneinfo",
"locale",
"updated_at",
"birthdate",

@ -54,7 +54,7 @@ public class DefaultScopeClaimTranslationService implements ScopeClaimTranslatio
scopesToClaims.put("profile", "picture");
scopesToClaims.put("profile", "website");
scopesToClaims.put("profile", "gender");
scopesToClaims.put("profile", "zone_info");
scopesToClaims.put("profile", "zoneinfo");
scopesToClaims.put("profile", "locale");
scopesToClaims.put("profile", "updated_at");
scopesToClaims.put("profile", "birthdate");

Loading…
Cancel
Save