Token.byId()
Learn: Tokens |
---|
Get a token by its
document id
.
Description
Gets a token, represented as an
Token
document, by its
document id
.
A token is a type of
authentication secret used to
provide identity-based access to a Fauna database. Fauna stores tokens as
documents in the Token
system
collection.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
id |
true |
ID of the
|
Return value
Type | Description |
---|---|
Resolved reference to the |