src/AppNexusClient.php
public function getNewToken()
    {
        $post = array(
            'auth' => array(
                'username' => $this->username,
                'password' => $this->password,
            ),
        );
        return $this->http->call(HttpMethod::POST, $this->host.'/auth', $post)->token;
    }
public function getNewToken()
    {
        $post = array(
            'auth' => array(
                'username' => $this->username,
                'password' => $this->password,
            ),
        );
        return $this->http->call(HttpMethod::POST, $this->host.'/auth', $post)->token;
    }
public function getNewToken ( ) { $ post = array ( 'auth' => array ( 'username' => $ this -> username , 'password' => $ this -> password , ) , ) ; return $ this -> http -> call ( HttpMethod :: POST , $ this -> host . '/auth' , $ post ) -> token ; }
Get a new auth token from server

@return string
Get a new auth token from server