Skip to main content

pdsx._internal.auth

authentication utilities for atproto.

Functions

login

login(client: AsyncClient, handle: str | None = None, password: str | None = None) -> bool
authenticate with atproto. Args:
  • client: atproto client to authenticate
  • handle: user handle
  • password: user password
  • silent: suppress authentication output
  • required: whether authentication is required
Returns:
  • True if authenticated, False if skipped (when not required)