src/Che/HttpApiAuth/SchemeHandler.php
public function registerScheme(AuthenticationScheme $scheme, $name = null)
    {
        $this->schemes[$name ?: $scheme->getName()] = $scheme;
    }
public function registerScheme(AuthenticationScheme $scheme, $name = null)
    {
        $this->schemes[$name ?: $scheme->getName()] = $scheme;
    }
public function registerScheme ( AuthenticationScheme $ scheme , $ name = null ) { $ this -> schemes [ $ name ? : $ scheme -> getName ( ) ] = $ scheme ; }
Add authentication scheme

@param AuthenticationScheme $scheme Scheme instance
@param string|null         $name   Custom name. If null, scheme name will be used
Add authentication scheme