SIGN IN SIGN UP

Expose api key validation (#491)

* introduce ApiKey module alongside with types

* wire ApiKey module through clients

* rename api_key modules to api_keys

* extend ApiKey response model by missing fields

* pluralize ApiKeyModule, ApiKey and AsyncApiKey

* remove AI slop, actually validate API key

* make api key validation path a constant

* adapt tests

* backport | None notation to Optional[T]

* return None on invalid API key

* improve naming

* black .

* fix type

---------

Co-authored-by: Nick Holden <nick.r.holden@gmail.com>
D
Deniz Saner committed
774750893b3c27fbee1583c31075e31e32cecafc
Parent: f9e5359
Committed by GitHub <noreply@github.com> on 12/5/2025, 6:12:57 PM