Authenticates with the Bluesky API using your handle and app password to obtain access and refresh tokens for subsequent API calls.
Value
A list containing authentication information:
- accessJwt
Character. Access token for API calls
- refreshJwt
Character. Refresh token for renewing access
- handle
Character. Your verified handle
- did
Character. Your decentralized identifier (DID)
Character. Your email address
See also
Other authentication:
refresh_token(),
verify_token()
Examples
if (FALSE) { # \dontrun{
# Authenticate with Bluesky (requires valid credentials)
auth <- get_token("your.handle.bsky.social", "your-app-password")
# Extract tokens for use in other functions
access_token <- auth$accessJwt
refresh_token <- auth$refreshJwt
my_did <- auth$did
# Verify the token works
verify_token(access_token)
} # }