def _auth_via_basic(self, user, password, **kw):
        return super(TastyPieAPI, self).auth(user, password)
This is just a wrapper around drest.api.API.auth().
dataset/ETHPy150Open datafolklabs/drest/drest/api.py/TastyPieAPI._auth_via_basic