bs_auth {bskyr}R 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())


[Package bskyr version 0.3.0 Index]