original_string: protected function generateSessionId($brokerId, $token)
      {
          $broker = $this->getBrokerInfo($brokerId);
  
          if (!isset($broker)) {
              return null;
          }
  
          return "SSO-{$brokerId}-{$token}-" . hash('sha256', 'session' . $token . $broker['secret']);
      }
code: protected function generateSessionId($brokerId, $token)
      {
          $broker = $this->getBrokerInfo($brokerId);
  
          if (!isset($broker)) {
              return null;
          }
  
          return "SSO-{$brokerId}-{$token}-" . hash('sha256', 'session' . $token . $broker['secret']);
      }
code_tokens: protected function generateSessionId ( $ brokerId , $ token ) { $ broker = $ this -> getBrokerInfo ( $ brokerId ) ; if ( ! isset ( $ broker ) ) { return null ; } return "SSO-{$brokerId}-{$token}-" . hash ( 'sha256' , 'session' . $ token . $ broker [ 'secret' ] ) ; }
docstring: Generate session id from session token
  
  @param string $brokerId
  @param string $token
  @return string
docstring_tokens: Generate session id from session token