Learn how to use the getUserInfoByIdentity JSON-RPC method.
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 as facebookId
, googleId
, etc.) will be dependent upon their primary associated social account.` It takes:
provider
- string, identity provider, now only support jwt
.
UID
- string, user identifier.
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Request parameters for retrieving user information by user identity.
The body is of type object
.
Successful response with user information.
The response is of type object
.