src/Che/HttpApiAuth/SchemeHandler.php
public function createCredentialsHeader(HttpRequest $request, $scheme, $username, $secretKey)
    {
        $value = $this->getScheme($scheme)->createRequestHeaderValue($request, $username, $secretKey);

        return new HttpHeader($this->credentialsHeader, $scheme . ' ' . $value);
    }
public function createCredentialsHeader(HttpRequest $request, $scheme, $username, $secretKey)
    {
        $value = $this->getScheme($scheme)->createRequestHeaderValue($request, $username, $secretKey);

        return new HttpHeader($this->credentialsHeader, $scheme . ' ' . $value);
    }
public function createCredentialsHeader ( HttpRequest $ request , $ scheme , $ username , $ secretKey ) { $ value = $ this -> getScheme ( $ scheme ) -> createRequestHeaderValue ( $ request , $ username , $ secretKey ) ; return new HttpHeader ( $ this -> credentialsHeader , $ scheme . ' ' . $ value ) ; }
Create auth credentials header for client request

@param HttpRequest $request   Request for sign
@param string      $scheme    Authorization scheme name
@param string      $username  Username for API
@param string      $secretKey Secret key for API

@return HttpHeader
@throws \OutOfBoundsException If scheme is not registered
Create auth credentials header for client request