HasCurrentIdentity function returns
true if the current client
authentication credentials have an associated identity, and
When authentication is performed by an identity provider,
true if the associated JWT has a
A boolean indicating whether the current client credentials are associated with an identity/JWT.
The following query is run in the context of a logged-in Fauna user:
The following query is run in the context of an externally-authenticated user:
Is this article helpful?
Tell Fauna how the article can be improved:
Thank you for your feedback!