Skip to content

AuthResult

Source code in docs_src/capo_iot/types/auth_result.py
class AuthResult(TypedDict, closed=True):
    auth_info: NotRequired["capo_iot.types.auth_info.AuthInfo"]
    """<p>Authorization information.</p>"""
    allowed: NotRequired["capo_iot.types.allowed.Allowed"]
    """<p>The policies and statements that allowed the specified action.</p>"""
    denied: NotRequired["capo_iot.types.denied.Denied"]
    """<p>The policies and statements that denied the specified action.</p>"""
    auth_decision: NotRequired["capo_iot.types.auth_decision.AuthDecision"]
    """<p>The final authorization decision of this scenario. Multiple statements are taken into account when determining the authorization decision. An explicit deny statement can override multiple allow statements.</p>"""
    missing_context_values: NotRequired[
        "capo_iot.types.missing_context_values.MissingContextValues"
    ]
    """<p>Contains any missing context values found while evaluating policy.</p>"""

allowed instance-attribute

allowed: NotRequired[Allowed]

The policies and statements that allowed the specified action.

auth_decision instance-attribute

auth_decision: NotRequired[AuthDecision]

The final authorization decision of this scenario. Multiple statements are taken into account when determining the authorization decision. An explicit deny statement can override multiple allow statements.

auth_info instance-attribute

auth_info: NotRequired[AuthInfo]

Authorization information.

denied instance-attribute

denied: NotRequired[Denied]

The policies and statements that denied the specified action.

missing_context_values instance-attribute

missing_context_values: NotRequired[MissingContextValues]

Contains any missing context values found while evaluating policy.