You are here

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

AuthenticationManagerInterface

Namespace

Drupal\restful\Authentication

Code

public function setIsOptional($is_optional);