validateKeysByKid method

bool validateKeysByKid(
  1. List<String> keys
)

Checks whether the token's kid is present in the list of known public keys.

Implementation

bool validateKeysByKid(List<String> keys) {
  return keys.contains(kid);
}