getUserInfoByIdentity
Learn how to use the getUserInfoByIdentity JSON-RPC method.
Understanding getUserInfoByIdentity
-
getUserInfoByIdentity
retrieves a JSON object containing various data points relating to a registered user (a user that has already undergone social login), such as their name, UUID, token, email, and so on. The population of specific data points (such asfacebookId
,googleId
, etc.) will be dependent upon their primary associated social account.` It takes:-
provider
- string, identity provider, now only supportjwt
. -
UID
- string, user identifier.
-
Query example
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
The request identifier.
Version of the JSON-RPC protocol, should be 2.0.
API method being called, should be getUserInfoByIdentity.
Parameters for the API method call, including the identity provider and user identifier.
Was this page helpful?