mirror of
https://github.com/supabase/supabase.git
synced 2026-10-19 08:09:11 +03:00
Merge branch 'master' of github.com:supabase/supabase
This commit is contained in:
commit
4a349e95c5
1 file changed
+11
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user