validateAuthenticity method

void validateAuthenticity(
  1. SigningManager verifier
)

Implementation

void validateAuthenticity(SigningManager verifier) {
  var messageIsValid = verifier.verifyMessage(message, signature);
  setIsAuthenticated(messageIsValid);
}