Aacotroneo\Saml2\Saml2User::getUserId PHP Method

getUserId() public method

public getUserId ( ) : string
return string User Id retrieved from assertion processed this request
    function getUserId()
    {
        $auth = $this->auth;
        return $auth->getNameId();
    }