'Returns Bearer auth header with a generated access token
for the given user.'

def get_auth_header(self, user):

    access_token = AccessTokenFactory.create(user=user, client=self.oauth_client).token
    return ('Bearer    ' + access_token)
