Skip to content

AuthorizationCodeProperties

Source code in docs_src/capo_glue/types/authorization_code_properties.py
class AuthorizationCodeProperties(TypedDict, closed=True):
    authorization_code: NotRequired[
        "capo_glue.types.authorization_code.AuthorizationCode"
    ]
    """<p>An authorization code to be used in the third leg of the <code>AUTHORIZATION_CODE</code> grant workflow. This is a single-use code which becomes invalid once exchanged for an access token, thus it is acceptable to have this value as a request parameter.</p>"""
    redirect_uri: NotRequired["capo_glue.types.redirect_uri.RedirectUri"]
    """<p>The redirect URI where the user gets redirected to by authorization server when issuing an authorization code. The URI is subsequently used when the authorization code is exchanged for an access token.</p>"""

authorization_code instance-attribute

authorization_code: NotRequired[AuthorizationCode]

An authorization code to be used in the third leg of the AUTHORIZATION_CODE grant workflow. This is a single-use code which becomes invalid once exchanged for an access token, thus it is acceptable to have this value as a request parameter.

redirect_uri instance-attribute

redirect_uri: NotRequired[RedirectUri]

The redirect URI where the user gets redirected to by authorization server when issuing an authorization code. The URI is subsequently used when the authorization code is exchanged for an access token.