spring-social / spring-social-google

Spring Social extension with connection support and an API binding for Google
https://spring-social-google.github.io/spring-social-google/
Apache License 2.0
214 stars 164 forks source link

Add ageRange, language and verified fields to a person profile #78

Closed ui-michal-szwed closed 8 years ago

ui-michal-szwed commented 9 years ago

I added fields to Person which I think are common used.

Implementation of AgeRange is based on spring-social-facebook approach with values adjusted to Google API (based documentation from Google): The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21 or older. Age is determined from the user's birthday using Western age reckoning.. In the worse case other values are accepted as well as UNKNOWN.

language is documented as String, so I think it should be fine, verified is boolean, but might be also null.