Jasny\SSO\Broker::getSessionId PHP Method

getSessionId() protected method

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