Learn R Programming

tuber (version 3.0.0)

yt_token: Check if authentication token is in options

Description

Check if authentication token is in options

Usage

yt_token()

yt_authorized()

yt_check_token()

Arguments

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

Run this code
yt_authorized()

Run the code above in your browser using DataLab