def get_user(self, validated_token):
    '\n        Returns a stateless user object which is backed by the given validated\n        token.\n        '
    if (api_settings.USER_ID_CLAIM not in validated_token):
        raise InvalidToken(_('Token contained no recognizable user identification'))
    return api_settings.TOKEN_USER_CLASS(validated_token)
Returns a stateless user object which is backed by the given validated
token.
def get_user(self, validated_token):
    '\n        Returns a stateless user object which is backed by the given validated\n        token.\n        '
    if (api_settings.USER_ID_CLAIM not in validated_token):
        raise InvalidToken(_('Token contained no recognizable user identification'))
    return api_settings.TOKEN_USER_CLASS(validated_token)