This use case queries Tokens of the Identity.

Parameters

  • createdAt is the ISODateTime the Token was created at.
  • createdBy is the enmeshed address of the Identity that created the Token.
  • createdByDevice is the id of the Device that created the Token.
  • expiresAt is the ISODateTime the Token expires.
  • forIdentity is the enmeshed address 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.