ladder_user: Get info on current user

View source: R/api_slides_auth.R

ladder_userR Documentation

Get info on current user

Description

Reveals the email address of the user associated with the current token. If no token has been loaded yet, this function does not initiate auth.

Usage

ladder_user()

Value

An email address or, if no token has been loaded, NULL.

Returns the username associated with the current token or NULL if not authenticated.

See Also

gargle::token_userinfo(), gargle::token_email(), gargle::token_tokeninfo()

Examples

## Not run: 
ladder_user()

## End(Not run)

ladder documentation built on June 8, 2025, 11:29 a.m.