src/Che/HttpApiAuth/SchemeHandler.php
public function setDefaultScheme($scheme = null)
    {
        if ($scheme === null) {
            $this->defaultScheme = null;
        } else {
            $this->checkScheme($scheme);
            $this->defaultScheme = $scheme;
        }
    }
public function setDefaultScheme($scheme = null)
    {
        if ($scheme === null) {
            $this->defaultScheme = null;
        } else {
            $this->checkScheme($scheme);
            $this->defaultScheme = $scheme;
        }
    }
public function setDefaultScheme ( $ scheme = null ) { if ( $ scheme === null ) { $ this -> defaultScheme = null ; } else { $ this -> checkScheme ( $ scheme ) ; $ this -> defaultScheme = $ scheme ; } }
Set default scheme

@param string|null $scheme Scheme name or null to clear default

@throws \OutOfBoundsException
Set default scheme