mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Update generateLink() copy
This commit is contained in:
1 parent
bdc3792146
commit
8cb228039c
7 files changed
+11
-11
No files matched your search
@@ -8,7 +8,7 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
|
||||
import Tabs from '@theme/Tabs'
|
||||
import TabItem from '@theme/TabItem'
|
||||
|
||||
Generates email links and OTPs to be sent via a custom email provider.
|
||||
Generates email links and OTPs to send via a custom email provider.
|
||||
|
||||
```js
|
||||
const { data, error } = await supabase.auth.admin.generateLink(
|
||||
@@ -133,7 +133,7 @@ No description provided.
|
||||
|
||||
## Examples
|
||||
|
||||
### Generate a signup link.
|
||||
### Generate a signup link
|
||||
|
||||
```js
|
||||
const { data, error } = await supabase.auth.admin.generateLink(
|
||||
@@ -145,7 +145,7 @@ const { data, error } = await supabase.auth.admin.generateLink(
|
||||
)
|
||||
```
|
||||
|
||||
### Generate an invite link.
|
||||
### Generate an invite link
|
||||
|
||||
```js
|
||||
const { data, error } = await supabase.auth.admin.generateLink(
|
||||
|
||||
@@ -8,7 +8,7 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_
|
||||
import Tabs from '@theme/Tabs'
|
||||
import TabItem from '@theme/TabItem'
|
||||
|
||||
Generates links to be sent via email or other.
|
||||
Generates authentication links to send via email.
|
||||
|
||||
## Parameters
|
||||
|
||||
@@ -148,7 +148,7 @@ No description provided.
|
||||
|
||||
## Examples
|
||||
|
||||
### Generate invite link.
|
||||
### Generate an invite link
|
||||
|
||||
```js
|
||||
const { data: user, error } = await supabase.auth.api.generateLink(
|
||||
|
||||
@@ -2215,7 +2215,7 @@
|
||||
"isExternal": true
|
||||
},
|
||||
"comment": {
|
||||
"shortText": "Generates links to be sent via email or other."
|
||||
"shortText": "Generates authentication links to send via email."
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
|
||||
@@ -6618,7 +6618,7 @@
|
||||
"isExternal": true
|
||||
},
|
||||
"comment": {
|
||||
"shortText": "Generates links to be sent via email or other."
|
||||
"shortText": "Generates authentication links to send via email."
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
|
||||
@@ -6615,7 +6615,7 @@
|
||||
"isExternal": true
|
||||
},
|
||||
"comment": {
|
||||
"shortText": "Generates links to be sent via email or other."
|
||||
"shortText": "Generates authenticaion links to send via email."
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
|
||||
@@ -621,7 +621,7 @@ pages:
|
||||
- Requires a `service_role` key.
|
||||
- This function should only be called on a server. Never expose your `service_role` key in the browser.
|
||||
examples:
|
||||
- name: Generate invite link.
|
||||
- name: Generate an invite link
|
||||
isSpotlight: false
|
||||
js: |
|
||||
```js
|
||||
|
||||
@@ -505,7 +505,7 @@ pages:
|
||||
title: 'generateLink()'
|
||||
$ref: '@supabase/gotrue-js.GoTrueAdminApi.generateLink'
|
||||
examples:
|
||||
- name: Generate a signup link.
|
||||
- name: Generate a signup link
|
||||
isSpotlight: true
|
||||
js: |
|
||||
```js
|
||||
@@ -517,7 +517,7 @@ pages:
|
||||
}
|
||||
)
|
||||
```
|
||||
- name: Generate an invite link.
|
||||
- name: Generate an invite link
|
||||
isSpotlight: false
|
||||
js: |
|
||||
```js
|
||||
|
||||
Reference in new issue
Block a user