verify method

Future<bool> verify(
  1. JsonWebKeyStore keyStore
)

Implementation

Future<bool> verify(JsonWebKeyStore keyStore) async {
  try {
    await getPayload(keyStore);
    return true;
  } catch (e) {
    return false;
  }
}