Query Tokens by parameters
This use case queries Tokens of the Identity.
Parameters
createdAt
is the ISODateTime the Token was created at.createdBy
is the enmeshedaddress
of the Identity that created the Token.createdByDevice
is theid
of the Device that created the Token.expiresAt
is the ISODateTime the Token expires.forIdentity
is the enmeshedaddress
of the Identity for which the Token is intended.passwordProtection
is an object for PasswordProtection of a Token.
On Success
- Returns all Tokens that match the
query
.
On Failure
- The parameters are malformed.