protected function getSessionId()
    {
        if (!isset($this->token)) return null;

        $checksum = hash('sha256', 'session' . $this->token . $this->secret);
        return "SSO-{$this->broker}-{$this->token}-$checksum";
    }
protected function getSessionId()
    {
        if (!isset($this->token)) return null;

        $checksum = hash('sha256', 'session' . $this->token . $this->secret);
        return "SSO-{$this->broker}-{$this->token}-$checksum";
    }
protected function getSessionId ( ) { if ( ! isset ( $ this -> token ) ) return null ; $ checksum = hash ( 'sha256' , 'session' . $ this -> token . $ this -> secret ) ; return "SSO-{$this->broker}-{$this->token}-$checksum" ; }
Generate session id from session key

@return string
Generate session id from session key