getIdentityAndDurationFromCookie() protected method (available since version 2.0.9)
Determines if an identity cookie has a valid format and contains a valid auth key.
This method is used when $enableAutoLogin is true. This method attempts to authenticate a user using the information in the identity cookie.
See also loginByCookie().
protected array|null getIdentityAndDurationFromCookie ( ) | ||
---|---|---|
return | array|null |
Returns an array of 'identity' and 'duration' if valid, otherwise null. |
Please login to continue.