public static boolean isOpenIdConnectFragmentErrorType(Set<String> requestedResponseTypes){
  return requestedResponseTypes.contains(ID_TOKEN) || requestedResponseTypes.contains(TOKEN);
}

public static boolean isOpenIdConnectFragmentErrorType ( Set < String > requestedResponseTypes ) { return requestedResponseTypes . contains ( ID_TOKEN ) || requestedResponseTypes . contains ( TOKEN ) ; }
when using the openid connect authorization implicit flow the response_type value is " id_token token " or " id_token " . when using the hybrid flow , this value is " code id_token " , " code token " , or " code id_token " token .
