Token.byDocument()
Get a Token
document.
Description
This method returns the set of tokens associated with document. An identity may have multiple tokens.
Examples
{
data: [
{
id: "371233004820889634",
coll: Token,
ts: Time("2023-07-25T14:10:32.165Z"),
document: People.byId("370723013175279650")
},
{
id: "371233060625055778",
coll: Token,
ts: Time("2023-07-25T14:11:25.360Z"),
document: People.byId("370723013175279650")
}
]
}
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!