Get a person's profile in OpenID Connect format.
Use this method in place of people.get when you need the OpenID Connect format.
This method is not discoverable nor is it in the Google API client libraries. To learn more, see OpenID Connect for sign-in.
Request
HTTP request
GET https://www.googleapis.com/plus/v1/people/me/openIdConnect
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{ "kind": "plus#personOpenIdConnect", "gender": string, "sub": string, "name": string, "given_name": string, "family_name": string, "profile": string, "picture": string, "email": string, "email_verified": "true", "locale": string, "hd": string }
Property name | Value | Description | Notes |
---|---|---|---|
kind |
string |
Identifies this resource as a person in OpenID Connect format. Value: "plus#personOpenIdConnect"
|
|
gender |
string |
The person's gender. Possible values include, but are not limited to, the following values:
|
|
sub |
string |
The ID of the authenticated user. | |
name |
string |
The user's full name. | |
given_name |
string |
The user's given (first) name. | |
family_name |
string |
The user's family (last) name. | |
profile |
string |
The URL of the user's profile page. | |
picture |
string |
The URL of the user's profile picture. | |
email |
string |
The user's email address. | |
email_verified |
string |
Boolean flag which is true if the email address is verified. This method returns an email address only if it is verified. | |
hd |
string |
The hosted domain name for the user's Google Apps account. For instance, example.com . The plus.profile.emails.read or email scope is needed to get this domain name.
|
|
locale |
string |
The user's preferred locale. |