public function authentication($username, $password)
    {
        $endpoint = sprintf('authentication?username=%s', urlencode($username));
        $parameters['value'] = $password;
        return $this->apiClient->callEndpoint(
            $endpoint,
            $parameters,
            null,
            HttpMethod::REQUEST_POST
        );
    }
public function authentication($username, $password)
    {
        $endpoint = sprintf('authentication?username=%s', urlencode($username));
        $parameters['value'] = $password;
        return $this->apiClient->callEndpoint(
            $endpoint,
            $parameters,
            null,
            HttpMethod::REQUEST_POST
        );
    }
public function authentication ( $ username , $ password ) { $ endpoint = sprintf ( 'authentication?username=%s' , urlencode ( $ username ) ) ; $ parameters [ 'value' ] = $ password ; return $ this -> apiClient -> callEndpoint ( $ endpoint , $ parameters , null , HttpMethod :: REQUEST_POST ) ; }
Authenticate user with Crowd

@param $username
@param $password
@return mixed
Authenticate user with Crowd