checkTokenValidity abstract method

Future<bool?> checkTokenValidity(
  1. String userId,
  2. String token
)

Check token validity for a user.

Checks that the provided token is (still) valid for the provided user id (or user login).

Parameters:

  • String userId (required): The UUID that identifies the user uniquely

  • String token (required): The token that will be checked

Implementation

Future<bool?> checkTokenValidity(String userId, String token,);