Module: AtprotoAuth::Identity

Defined in:
lib/atproto_auth/identity.rb,
lib/atproto_auth/identity/did.rb,
lib/atproto_auth/identity/document.rb,
lib/atproto_auth/identity/resolver.rb

Overview

Handles identity resolution, verification and management for AT Protocol OAuth. This module provides functionality to resolve handles to DIDs, verify identity documents, validate PDS locations, and verify authorization server bindings.

The module consists of three main components:

  1. Document - Represents and validates AT Protocol DID documents, handling extraction of crucial service endpoints and verification.

  2. Resolver - Handles resolution of handles to DIDs and fetching of DID documents, with support for both DNS and HTTP-based resolution.

  3. Error classes - Structured error hierarchy for handling different types of identity-related failures.

Defined Under Namespace

Classes: DID, Document, DocumentError, Error, ResolutionError, Resolver, ValidationError