AccessProvider.all()

Get the set of all access provider documents.

Signature

AccessProvider.all(): Set<AccessProvider>

Description

This method returns the set of all access providers in the database. If AccessProvider.all() is the last expression in a query, the first page of the Set is returned.

Parameters

None

Return value

Type Description

Set<AccessProvider>

Set of all access providers in the current database.

Examples

AccessProvider.all()
{
  "data": [
    {
      "name": "justFineAccessProvider",
      "coll": "AccessProvider",
      "ts": "2023-06-05T19:09:29.880Z",
      "jwks_uri": "https://fauna.auth0.com/.well-known/jwks.json",
      "roles": "customer",
      "issuer": "https://fauna.auth0.com"
    }
  ]
}

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!