class RequestSession {

  private static String getReqProviderName(EidasRequest eidasRequest)
  {
    if (eidasRequest.getSectorType() == EidasRequestSectorType.PRIVATE)
    {
      if (eidasRequest.getRequesterId() != null)
      {
        return eidasRequest.getRequesterId();
      }
      if (eidasRequest.getProviderName() != null)
      {
        return eidasRequest.getProviderName();
      }
    }
    return null;
  }

    RequestSession(String relayState,
                 String reqId,
                 String reqDestination,
                 String reqProviderName,
                 String reqProviderEntityId);
  public  RequestSession(String reqId,
                        String reqDestination,
                        String reqProviderName,
                        String reqProviderEntityId);
  public  RequestSession(String relayState, EidasRequest eidasRequest);
  public  RequestSession(EidasRequest eidasRequest);

}