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}";
}