You are here

protected property AuthenticationManager::$isOptional in RESTful 7.2

Determines if authentication is optional.

If FALSE, then UnauthorizedException is thrown if no authentication was found. Defaults to FALSE.

Type: bool

File

src/Authentication/AuthenticationManager.php, line 44
Contains \Drupal\restful\Authentication\AuthenticationManager

Class

AuthenticationManager
Class AuthenticationManager.

Namespace

Drupal\restful\Authentication

Code

protected $isOptional = FALSE;