isValidRequestExpiry static method

bool isValidRequestExpiry(
  1. int expiry
)

Implementation

static bool isValidRequestExpiry(int expiry) {
  return StringConstants.AUTH_REQUEST_EXPIRY_MIN <= expiry &&
      expiry <= StringConstants.AUTH_REQUEST_EXPIRY_MAX;
}