bs_auth: Authenticate a user

View source: R/auth.R

bs_authR Documentation

Authenticate a user

Description

Authenticate a user

Usage

bs_auth(user, pass, save_auth = TRUE)

Arguments

user

Character. User name to log in with.

pass

Character. App password to log in with.

save_auth

Logical. Should the authentication information be saved? If TRUE, it tries to reload from the cache. If a file is over 10 minutes old, it will not be read. Set save_auth = NULL to force the token to refresh and save the results.

Value

a list of authentication information

Lexicon references

server/createSession.json (2023-09-30)

Function introduced

v0.0.1 (2023-09-30)

Examples


bs_auth(user = get_bluesky_user(), pass = get_bluesky_pass())


bskyr documentation built on June 8, 2025, 10:33 a.m.