public static boolean jwtHasAuthorizedPartyClaim(JwtClaimsSet jwtClaims) throws AuthLoginException {
  String authorizedPartyClaim=(String)jwtClaims.getClaim(AUTHORIZED_PARTY_CLAIM_KEY);
  return (authorizedPartyClaim != null && !authorizedPartyClaim.isEmpty());
}

public static boolean jwtHasAuthorizedPartyClaim ( JwtClaimsSet jwtClaims ) throws AuthLoginException { String authorizedPartyClaim = ( String ) jwtClaims . getClaim ( AUTHORIZED_PARTY_CLAIM_KEY ) ; return ( authorizedPartyClaim != null && ! authorizedPartyClaim . isEmpty ( ) ) ; }
check if the token has an authorized party ( " azp " ) entry .
