AccessProvider.byName()
Get an AccessProvider
document by its name.
Return value
One of:
Type | Description |
---|---|
An access provider. |
|
NullAccessProvider |
Document doesn’t exist or is inaccessible. See NullDoc. |
Examples
{
name: "anAccessProvider",
coll: AccessProvider,
ts: Time("2023-07-28T03:46:30.150Z"),
issuer: "https://fauna.auth0.com",
audience: "https://db.fauna.com/db/ywtfhw4poyynr",
jwks_uri: "https://fauna.auth0.com/.well-known/jwks.json",
roles: [
"mgmtTeam",
{
role: "mgmtTeam",
predicate: "_ => true"
}
],
data: {
custom: "some data"
}
}
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!