Prado\Security\TDbUser::saveUserToCookie PHP 메소드

saveUserToCookie() 공개 메소드

This method is invoked when {@link TAuthManager::setAllowAutoLogin AllowAutoLogin} is set true. The default implementation does nothing, meaning auth data is not stored in the cookie (and thus automatic login is not supported.) If you want to support automatic login (remember login), you should override this method. Typically, you generate a unique token according to the current login information and save it together with the username in the cookie's value. You should avoid revealing the password in the generated token.
또한 보기: createUserFromCookie
부터: 3.1.1
public saveUserToCookie ( $cookie )
    public function saveUserToCookie($cookie)
    {
    }