Skip to contents

Get current user info

Usage

at_whoami(token = NULL)

Arguments

token

Personal access token (resolved via air_token() if NULL).

Value

A list with id and (if scoped) email, scopes.

Examples

if (FALSE) { # \dontrun{
me <- at_whoami()
me$email
me$id
} # }