AccessProvider
Learn: Access providers |
---|
We recommend you use FSL to create and update access providers. See Access provider schema. |
Fauna stores access providers as documents in the AccessProvider
system
collection.
These documents act as an FQL version of the FSL access provider schema. See Access provider document definition.
You can use the following methods to handle access providers in FQL.
Static methods
Method | Description |
---|---|
Get the set of all access providers. |
|
Get an access provider by its name. |
|
Create an access provider. |
|
Get the first provider matching a predicate function. |
|
Get the name of the AccessProvider collection as a string. |
|
Get providers matching a predicate function. |
Instance methods
Method | Description |
---|---|
Delete an access provider. |
|
Tests if an access provider exists. |
|
Replace an access provider. |
|
Update an access provider. |
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!