def jwt_auth_required(callable_obj):
    """A decorator that signs a callable object with an "auth_required"
    attribute (True). We use this attribute to find which handler callbacks
    require an authorized for protected access.

    Args:
        callable_obj (instance): A handler callable object.

    Returns:
        The callable object.
    """
    setattr(callable_obj, "auth_required", True)

    return callable_obj