public function AuthenticationManagerInterface::setIsOptional in RESTful 7.2
Set the authentications' "optional" flag.
Parameters
boolean $is_optional: Determines if the authentication is optional.
1 method overrides AuthenticationManagerInterface::setIsOptional()
- AuthenticationManager::setIsOptional in src/
Authentication/ AuthenticationManager.php - Set the authentications' "optional" flag.
File
- src/
Authentication/ AuthenticationManagerInterface.php, line 24 - Contains \Drupal\restful\Authentication\AuthenticationManagerInterface
Class
Namespace
Drupal\restful\AuthenticationCode
public function setIsOptional($is_optional);