deleteToken abstract method

FutureOr<bool> deleteToken(
  1. String identifier,
  2. String token
)

Deletes only the record matching identifier and token.

Returns whether a matching record was removed. Implementations compare the token digest so a failed delivery cannot remove a newer token.

Implementation

FutureOr<bool> deleteToken(String identifier, String token);