Skip to content

CreateAuthCodeResponse

Source code in docs_src/capo_connect/types/create_auth_code_response.py
class CreateAuthCodeResponse(TypedDict, closed=True):
    auth_code: NotRequired["capo_connect.types.auth_code.AuthCode"]
    """<p>The authorization code to use for establishing a session.</p>"""
    session_id: NotRequired["capo_connect.types.session_id.SessionId"]
    """<p>The identifier of the session created with the authorization code.</p>"""
    entity_type: NotRequired[
        "capo_connect.types.auth_code_entity_type.AuthCodeEntityType"
    ]
    """<p>The type of entity associated with the authorization code.</p>"""
    entity_id: NotRequired["capo_connect.types.entity_id.EntityId"]
    """<p>The identifier of the entity associated with the authorization code.</p>"""

auth_code instance-attribute

auth_code: NotRequired[AuthCode]

The authorization code to use for establishing a session.

entity_id instance-attribute

entity_id: NotRequired[EntityId]

The identifier of the entity associated with the authorization code.

entity_type instance-attribute

entity_type: NotRequired[AuthCodeEntityType]

The type of entity associated with the authorization code.

session_id instance-attribute

session_id: NotRequired[SessionId]

The identifier of the session created with the authorization code.