Skip to content

OAuth2Credentials

Source code in docs_src/capo_appflow/types/o_auth2_credentials.py
class OAuth2Credentials(TypedDict, closed=True):
    client_id: NotRequired["capo_appflow.types.client_id.ClientId"]
    """<p>The identifier for the desired client.</p>"""
    client_secret: NotRequired["capo_appflow.types.client_secret.ClientSecret"]
    """<p>The client secret used by the OAuth client to authenticate to the authorization server.</p>"""
    access_token: NotRequired["capo_appflow.types.access_token.AccessToken"]
    """<p>The access token used to access the connector on your behalf.</p>"""
    refresh_token: NotRequired["capo_appflow.types.refresh_token.RefreshToken"]
    """<p>The refresh token used to refresh an expired access token.</p>"""
    o_auth_request: NotRequired[
        "capo_appflow.types.connector_o_auth_request.ConnectorOAuthRequest"
    ]

access_token instance-attribute

access_token: NotRequired[AccessToken]

The access token used to access the connector on your behalf.

client_id instance-attribute

client_id: NotRequired[ClientId]

The identifier for the desired client.

client_secret instance-attribute

client_secret: NotRequired[ClientSecret]

The client secret used by the OAuth client to authenticate to the authorization server.

o_auth_request instance-attribute

o_auth_request: NotRequired[ConnectorOAuthRequest]

refresh_token instance-attribute

refresh_token: NotRequired[RefreshToken]

The refresh token used to refresh an expired access token.