key_check library

Constants

openApiChangelogUrl → const String

Functions

isPublicApiKey(String apiKey) → bool
Returns true when apiKey is a client-side key (publishable or legacy anon JWT) that hosted Supabase projects no longer accept for the OpenAPI schema.
maskApiKey(String apiKey) → String
Masks apiKey for display, keeping only a known sb_*_ prefix and the last 4 characters, e.g. sb_secret_…AbCd.
publicKeyWarning() → String
schemaForbiddenMessage() → String