'Return a valid access token stored by django-oauth-toolkit (DOT), or
None if no matching token is found.'

def _get_dot_token(self, access_token):

    token_query = dot_models.AccessToken.objects.select_related('user')
    return token_query.filter(token=access_token).first()
