Get authenticated user
Find yourself they say. That's what you can do here.
OAuth scopes
one of:
- read:account
Responses
Request Example for get/me
import DemoAPIScalarGalaxy from '@brynn-team/demo-api-scalar-galaxy';
const client = new DemoAPIScalarGalaxy({
bearerAuth: process.env['BEARER_AUTH'], // defaults to the BEARER_AUTH env var
environment: 'production',
});
const user = await client.authentication.listMe();
console.log(user);
{
"id": 1,
"name": "Marc"
}