Skip to content

OAuth2Credentials

Source code in docs_src/capo_glue/types/o_auth2_credentials.py
class OAuth2Credentials(TypedDict, closed=True):
    user_managed_client_application_client_secret: NotRequired[
        "capo_glue.types.user_managed_client_application_client_secret.UserManagedClientApplicationClientSecret"
    ]
    """<p>The client application client secret if the client application is user managed.</p>"""
    access_token: NotRequired["capo_glue.types.access_token.AccessToken"]
    """<p>The access token used when the authentication type is OAuth2.</p>"""
    refresh_token: NotRequired["capo_glue.types.refresh_token.RefreshToken"]
    """<p>The refresh token used when the authentication type is OAuth2.</p>"""
    jwt_token: NotRequired["capo_glue.types.jwt_token.JwtToken"]
    """<p>The JSON Web Token (JWT) used when the authentication type is OAuth2.</p>"""

access_token instance-attribute

access_token: NotRequired[AccessToken]

The access token used when the authentication type is OAuth2.

jwt_token instance-attribute

jwt_token: NotRequired[JwtToken]

The JSON Web Token (JWT) used when the authentication type is OAuth2.

refresh_token instance-attribute

refresh_token: NotRequired[RefreshToken]

The refresh token used when the authentication type is OAuth2.

user_managed_client_application_client_secret instance-attribute

user_managed_client_application_client_secret: NotRequired[
    UserManagedClientApplicationClientSecret
]

The client application client secret if the client application is user managed.