checkRedirectAcceptable() protected method (available since version 2.0.8)
Checks if the Accept
header contains a content type that allows redirection to the login page.
The login page is assumed to serve text/html
or application/xhtml+xml
by default. You can change acceptable content types by modifying $acceptableRedirectTypes property.
See also $acceptableRedirectTypes.
protected boolean checkRedirectAcceptable ( ) | ||
---|---|---|
return | boolean |
Whether this request may be redirected to the login page. |
Please login to continue.