Extended auth mode that supports targeting a specific named key.
Use the colon syntax ("publishable:web_app") to require a specific named key
from the SUPABASE_PUBLISHABLE_KEYS or SUPABASE_SECRET_KEYS JSON object.
Use "publishable:*" or "secret:*" to accept any key in the set.
Example
// Accept only the "mobile" publishable key withSupabase({ auth:'publishable:mobile' }, handler)
// Accept any secret key withSupabase({ auth:'secret:*' }, handler)
// Mix named keys with other modes withSupabase({ auth: ['user', 'publishable:web_app'] }, handler)
Extended auth mode that supports targeting a specific named key.
Use the colon syntax (
"publishable:web_app") to require a specific named key from theSUPABASE_PUBLISHABLE_KEYSorSUPABASE_SECRET_KEYSJSON object. Use"publishable:*"or"secret:*"to accept any key in the set.