Skip to contents

Check if authentication token is in options

Usage

yt_token()

yt_authorized()

yt_check_token()

Value

`yt_token()` returns the httr2 token set by [yt_oauth()], or `NULL` when there is none. `yt_authorized()` returns `TRUE` when a token is set.

Examples

yt_authorized()
#> [1] FALSE