key_check library
Constants
- openApiChangelogUrl → const String
Functions
-
isPublicApiKey(
String apiKey) → bool -
Returns true when
apiKeyis 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
apiKeyfor display, keeping only a knownsb_*_prefix and the last 4 characters, e.g.sb_secret_…AbCd. -
publicKeyWarning(
) → String -
schemaForbiddenMessage(
) → String