HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //lib/python3/dist-packages/macaroonbakery/checkers/__init__.py
# Copyright 2017 Canonical Ltd.
# Licensed under the LGPLv3, see LICENCE file for details.
from ._conditions import (
    STD_NAMESPACE,
    COND_DECLARED,
    COND_TIME_BEFORE,
    COND_ERROR,
    COND_ALLOW,
    COND_DENY,
    COND_NEED_DECLARED,
)
from ._caveat import (
    allow_caveat,
    deny_caveat,
    declared_caveat,
    parse_caveat,
    time_before_caveat,
    Caveat,
)
from ._declared import (
    context_with_declared,
    infer_declared,
    infer_declared_from_conditions,
    need_declared_caveat,
)
from ._operation import (
    context_with_operations,
)
from ._namespace import (
    Namespace,
    deserialize_namespace
)
from ._time import (
    context_with_clock,
    expiry_time,
    macaroons_expiry_time,
)
from ._checkers import (
    Checker,
    CheckerInfo,
    RegisterError,
)
from ._auth_context import (
    AuthContext,
    ContextKey,
)

from ._utils import (
    condition_with_prefix,
)

__all__ = [
    'AuthContext',
    'Caveat',
    'Checker',
    'CheckerInfo',
    'COND_ALLOW',
    'COND_DECLARED',
    'COND_DENY',
    'COND_ERROR',
    'COND_NEED_DECLARED',
    'COND_TIME_BEFORE',
    'ContextKey',
    'STD_NAMESPACE',
    'Namespace',
    'RegisterError',
    'allow_caveat',
    'condition_with_prefix',
    'context_with_declared',
    'context_with_operations',
    'context_with_clock',
    'declared_caveat',
    'deny_caveat',
    'deserialize_namespace',
    'expiry_time',
    'infer_declared',
    'infer_declared_from_conditions',
    'macaroons_expiry_time',
    'need_declared_caveat',
    'parse_caveat',
    'time_before_caveat',
]