Description Usage Arguments Value
Add an account to the "<schema name>.accounts" table.
1 2 3 4 5 6 7 | add_account(
conn,
email,
host_secret,
account_secret = create_secret(),
schema = "polished"
)
|
conn |
the database connection |
email |
the account email |
host_secret |
the secret key for the hosted API. The |
account_secret |
the account secret key as generated by |
schema |
the name of the database schema |
a named list with 2 elements - uid: the uid for the newly created account - secret: the api secret key for the newly created account
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.