You are here

public function RestfulAuthenticationManager::setIsOptional in RESTful 7

Set the authentications' "optional" flag.

Parameters

boolean $is_optional: Determines if the authentication is optional.

File

plugins/authentication/RestfulAuthenticationManager.php, line 41
Contains RestfulAuthenticationManager.

Class

RestfulAuthenticationManager
@file Contains RestfulAuthenticationManager.

Code

public function setIsOptional($is_optional) {
  $this->isOptional = $is_optional;
}