getUser
client.getUser({ accessToken: string, // Optional arguments fields: string })
Examples
client
.getUser({
accessToken: 'eyJ0eXAiOiJKV1QiL...',
fields: 'id,givenName,familyName,email,birthdate'
})
.then(profile => {
// Display the profile
})
.catch(err => console.error(err))
Parameters
The authorization credential JSON Web Token (JWT) used to access the ReachFive API. |
|
The user fields to fetch in the response. Defaults to |