AccessProviders
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
AccessProviders( )
Not available in this language yet.
Not available in this language yet.
Returns
A Set reference for the available AccessProviders in the specified
child database
(or the current database if database
is not
specified).
Examples
The following query gets the references to all AccessProviders in the current database:
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
client.query(
q.Paginate(q.AccessProviders())
)
.then((ret) => console.log(ret))
.catch((err) => console.error('Error: %s', err))
{ data: [ AccessProvider("Auth0-myapp") ] }
Not available in this language yet.
Not available in this language yet.
The following query demonstrates what happens when no indexes exist:
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
client.query(
q.Paginate(q.AccessProviders())
)
.then((ret) => console.log(ret))
.catch((err) => console.error('Error: %s', err))
{ data: [] }
Not available in this language yet.
Not available in this language yet.
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!