docs: Update domain Public API documentation

This commit is contained in:
Moritz 2026-01-20 15:38:06 +01:00
parent 4fe30d9546
commit 9c2cff6307
Signed by: moritz
GPG key ID: 1020A035E5DD0824
8 changed files with 36 additions and 7 deletions

View file

@ -1,6 +1,15 @@
defmodule Mv.Accounts do
@moduledoc """
AshAuthentication specific domain to handle Authentication for users.
## Resources
- `User` - User accounts with authentication methods (password, OIDC)
- `Token` - Session tokens for authentication
## Public API
The domain exposes these main actions:
- User CRUD: `create_user/1`, `list_users/0`, `update_user/2`, `destroy_user/1`
- Authentication: `create_register_with_rauthy/1`, `read_sign_in_with_rauthy/1`
"""
use Ash.Domain,
extensions: [AshAdmin.Domain, AshPhoenix]