Skip to content

AuthorizationRequired

Source code in docs_src/capo_context/types/authorization_required.py
class AuthorizationRequired(TypedDict, closed=True):
    authorization_url: "capo_context.types.authorization_url.AuthorizationUrl"
    """<p>The URL the end user opens to consent. Single-use and bound to the caller's identity.</p>"""
    message: NotRequired[
        "capo_context.types.authorization_message.AuthorizationMessage"
    ]
    """<p>A short, user-facing explanation of what is being authorized.</p>"""

authorization_url instance-attribute

authorization_url: AuthorizationUrl

The URL the end user opens to consent. Single-use and bound to the caller's identity.

message instance-attribute

message: NotRequired[AuthorizationMessage]

A short, user-facing explanation of what is being authorized.