Jasny\SSO\Broker::getSessionId PHP 메소드

getSessionId() 보호된 메소드

Generate session id from session key
protected getSessionId ( ) : string
리턴 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}";
    }