Psr7Middlewares\Middleware\Cors::allowCredentials PHP Method

allowCredentials() public method

If access with credentials is supported by the resource.
See also: Neomerx\Cors\Contracts\Strategies::setRequestCredentialsSupported
public allowCredentials ( boolean $allow = true ) : self
$allow boolean
return self
    public function allowCredentials($allow = true)
    {
        $this->settings->setRequestCredentialsSupported($allow);
        return $this;
    }