Merge branch 'master' of github.com:supabase/supabase

This commit is contained in:
Terry Sutton committed 2022-06-29 18:02:26 -02:30
commit 4a349e95c5
1 file changed
+11 -1
+11 -1
View File
@@ -46,11 +46,15 @@ Supabase provides you with a few easy functions that you can use with your polic
Returns the ID of the user making the request.
### `auth.jwt()`
Returns the JWT of the user making the request.
### `auth.role()`
:::caution
Deprecated
Deprecated
:::
@@ -74,6 +78,12 @@ using (
### `auth.email()`
:::caution
Deprecated. Use `auth.role -> 'email'` instead.
:::
Returns the email of the user making the request.
## Examples