Unlimited learning, half price | 50% off
Get 50% off unlimited learning

ladder (version 0.0.1)

ladder_token: Produce configured token

Description

For internal use or for those programming around the Slides API. Returns a token pre-processed with httr::config(). Most users do not need to handle tokens "by hand" or, even if they need some control, ladder_auth() is what they need. If there is no current token, ladder_auth() is called to either load from cache or initiate OAuth2.0 flow. If auth has been deactivated via ladder_deauth(), ladder_token() returns NULL.

Usage

ladder_token()

Arguments

Value

A request object (an S3 class provided by httr).

See Also

Other low-level API functions: ladder_has_token()

Examples

Run this code
if (FALSE) { # interactive()
ladder_token()
}

Run the code above in your browser using DataLab