checkTokenValidity method

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

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

@override
Future<bool?> checkTokenValidity(String userId, String token) => api.baseUserApi.checkTokenValidity(userId, token);