isForAuthEndpoint method

bool isForAuthEndpoint(
  1. Uri candidate
)

Whether this grant was issued by candidate.

Implementation

bool isForAuthEndpoint(Uri candidate) {
  return authEndpoint?.toString() == candidate.toString();
}