protected def hasGroup()

in pan-domain-auth-core/src/main/scala/com/gu/pandomainauth/service/Google2FAGroupChecker.scala [66:69]


  protected def hasGroup(userEmail: String, groupId: String): Boolean =
    withGoogle4xxErrorHandling {
      directory.members().hasMember(groupId, userEmail).execute().getIsMember()
    }