API Reference atex v#0.10.0
View SourceModules
Struct and helper functions for manipulating at:// URIs, which identify
specific records within the AT Protocol.
Codec for the base32-sortable encoding.
Library-wide configuration for Atex.
Configuration management for Atex.OAuth.
Cryptographic operations for the AT Protocol.
Struct and schema for a DID document.
Struct and schema for a service entry in a DID document.
Struct and schema for a verificationMethod entry in a DID document.
Resolves AT Protocol identifiers (DIDs and handles) to Atex.IdentityResolver.Identity structs.
ConCache-based implementation for Identity Resolver caching.
Resolves published AT Protocol Lexicon schemas by NSID.
Represents an AT Protocol Namespaced Identifier (NSID).
AT Protocol OAuth 2.0 session management.
TTL cache for OAuth authorization server information.
DPoP (Demonstrating Proof of Possession) token creation and request handling.
Authorization server discovery for AT Protocol OAuth.
Exception raised by Atex.OAuth.Plug when errors occurred. When using the
Plug, you should set up a Plug.ErrorHandler to gracefully catch these and
give messages to the end user.
AT Protocol OAuth 2.0 authorization flow.
Plug router for handling AT Protocol's OAuth flow.
Struct representing an active OAuth session for an AT Protocol user.
Storage interface for OAuth sessions.
DETS implementation for Atex.OAuth.SessionStore.
In-memory, ETS implementation for Atex.OAuth.SessionStore.
Client for the did:plc directory server HTTP API.
Custom validators for Peri, for use within atex.
AT Protocol repository - a signed, content-addressed store of records.
The signed commit object at the top of an AT Protocol repository.
A validated AT Protocol repository path - a collection/rkey pair.
Validating and working with inter-service authentication tokens.
Behaviour and compile-time dispatch for tracking used jti (JWT ID) nonces
from service auth tokens, preventing replay attacks.
ConCache-backed implementation of Atex.ServiceAuth.JTICache.
Struct and helper functions for dealing with AT Protocol TIDs (Timestamp Identifiers), a 13-character string representation of a 64-bit number comprised of a Unix timestamp (in microsecond precision) and a random "clock identifier" to help avoid collisions.
Telemetry instrumentation for Atex.
Client module for AT Protocol XRPC.
Behaviour that defines the interface for XRPC clients.
Represents an XRPC error response.
Password/app-password based XRPC client for AT Protocol.
OAuth client for making authenticated XRPC requests to AT Protocol servers.
Routing utilities for building ATProto XRPC server endpoints.
Plug that populates conn.private[:xrpc_aud] from the :service_did app config.
An XRPC client that uses a inter-service auth JWT to interact with another
service on a user's behalf. See Atex.ServiceAuth and
com.atproto.server.getServiceAuth
for more information.
An XRPC client that doesn't perform any authentication to a service.
Can be used for public APIs like public.api.bsky.app, or performing
public reads from PDSes.
Mix Tasks
Generate Elixir modules from AT Protocol lexicons, which can then be used to validate data at runtime.
Resolve published AT Protocol lexicons by NSID and write them to JSON files.