Skip to contents

Resolve a Handle to Decentralized Identifier (DID)

Usage

bs_resolve_handle(
  handle,
  user = get_bluesky_user(),
  pass = get_bluesky_pass(),
  auth = bs_auth(user, pass),
  clean = TRUE
)

Arguments

handle

Character, length 1. Handle, such as 'chriskenny.bsky.social'

user

Character. User name to log in with. Defaults to get_bluesky_user().

pass

Character. App password to log in with. Defaults to get_bluesky_pass().

auth

Authentication information. Defaults to bs_auth(user, pass).

clean

Logical. Should output be cleaned into a tibble? Default: TRUE.

Value

a tibble::tibble of decentralized identifier

Function introduced

v0.1.0 (2023-11-24)

Examples

if (FALSE) { # has_bluesky_pass() & has_bluesky_user()
bs_resolve_handle('chriskenny.bsky.social')
}