Token
Description
Tokens work with roles to grant identity-based access to a database. An identity may have multiple tokens that can access multiple devices simultaneously.
By itself, a token doesn’t authorize resource access privileges to its corresponding identity. See the Role collection for more information on configuring resource authorization.
See the Token document definition |
---|
Static methods
Method | Description |
---|---|
Get the set of all Token objects. |
|
Get a Token by Document. |
|
Get a Token by ID. |
|
Create a Token. |
|
Get the first token matching a predicate function. |
|
Get the name of the Token collection as a string. |
|
Get tokens matching a predicate function. |
Instance methods
Method | Description |
---|---|
Delete a Token. |
|
Verify a Token. |
|
Replace a Token. |
|
Update a Token. |
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!