bool isOAuth2

Source

bool get isOAuth2 {
  return type == "oauth2";
}