public function AuthenticationManager::getIsOptional in RESTful 7.2
Get the authentications' "optional" flag.
Return value
boolean TRUE if the authentication is optional.
Overrides AuthenticationManagerInterface::getIsOptional
1 call to AuthenticationManager::getIsOptional()
- AuthenticationManager::getAccount in src/
Authentication/ AuthenticationManager.php - Get the user account for the request.
File
- src/
Authentication/ AuthenticationManager.php, line 74 - Contains \Drupal\restful\Authentication\AuthenticationManager
Class
- AuthenticationManager
- Class AuthenticationManager.
Namespace
Drupal\restful\AuthenticationCode
public function getIsOptional() {
return $this->isOptional;
}