rename zone_info claim to zoneinfo

pull/1016/head
Misagh Moayyed 2016-01-11 10:16:03 -07:00 committed by Justin Richer
parent 7badfe1d17
commit 3d14b0d128
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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