API Reference Ithibati v#0.2.0

Copy Markdown View Source

Modules

Passkey authentication for Elixir applications.

Stores the one-time bootstrap claim and the account that made it.

Reads PostgreSQL table, column and uniqueness metadata.

Lists the failure-code vocabulary produced by Ithibati's server and browser integration.

Reads and validates the application's Ithibati configuration.

Checks configuration, database state and web integration without changing them.

Adds an account's first passkey and recovery codes to an application's Ecto.Multi.

Records the one-time claim of an instance by its first account.

Finds pending invitations and composes their acceptance into application transactions.

Registers and verifies passkeys and manages an account's stored credentials.

Issues and redeems single-use recovery codes for accounts without an available passkey.

Issues, looks up and revokes server-side sessions.

Creates or removes Ithibati's versioned database schema from an application migration.

Stores a recovery code's digest, account reference and usage timestamp.

Provides identifier normalization and built-in validation patterns.

Adds invitation-token fields and validation to an application-owned schema.

Adds an identifier and credential associations to an application-owned account schema.

Stores a session token's SHA-256 digest, account reference and creation time.

Stores a passkey's credential ID, serialized public key, label and last-use timestamp.

Loads the current account from a session and optionally requires authentication.

Defines the application's decisions during registration, authentication and recovery.

Exports the passkey browser hook through LiveView's colocated manifest.

Handles the JSON endpoints mounted by Ithibati.Web.Router.

Mounts registration, authentication and recovery endpoints in a Phoenix router.

Mix Tasks

Starts the consuming application, prints setup findings and fails if any check reports an error.