Skip to content

Commit 2b8ac38

Browse files
committed
Note PHP and YAML built-ins in custom-adapters guide
Master's new VitePress docs introduced a custom-adapters page that described tinyauth as having only INI-based stores. Update the intro to point at the now-three built-in formats so readers don't reach for a custom adapter when they just want a different file format.
1 parent 074c3fe commit 2b8ac38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/guide/custom-adapters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Custom Adapters
22

3-
TinyAuth's two INI-based stores (`auth_allow.ini` for public actions, `auth_acl.ini` for role permissions) are just the default backends. You can swap either one out for a database-driven, API-driven, or any other source by implementing a small interface.
3+
TinyAuth ships with three file-based backends (`Ini`, `Php`, `Yaml` — see [Authorization Adapters](/authorization/adapter) and [Authentication Adapters](/authentication/adapter)) for the public-action whitelist (`auth_allow.*`) and the role permissions (`auth_acl.*`). If a different format is all you need, just switch the `aclAdapter` / `allowAdapter` config key. You only need a custom adapter when the data has to come from somewhere else entirely — a database, an API, etc.
44

55
## When you'd want a custom adapter
66

0 commit comments

Comments
 (0)