Unfortunately,the RHC::Rest::Client class doesn't provide a way to authenticate by token. Even if it did, Openshift API tokens expire after 1 hour, making basic authentication preferable for this kind of usage.