File: //lib/python3/dist-packages/macaroonbakery/checkers/_conditions.py
# Copyright 2017 Canonical Ltd.
# Licensed under the LGPLv3, see LICENCE file for details.
# StdNamespace holds the URI of the standard checkers schema.
STD_NAMESPACE = 'std'
# Constants for all the standard caveat conditions.
# First and third party caveat conditions are both defined here,
# even though notionally they exist in separate name spaces.
COND_DECLARED = 'declared'
COND_TIME_BEFORE = 'time-before'
COND_ERROR = 'error'
COND_ALLOW = 'allow'
COND_DENY = 'deny'
COND_NEED_DECLARED = 'need-declared'