Class OAuthConfig (1.38.0)

OAuthConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents configuration of OAuth client credential flow for 3rd party API authentication.

Attributes

Name Description
client_id str
Required. The client ID provided by the 3rd party platform.
client_secret str
Required. The client secret provided by the 3rd party platform.
token_endpoint str
Required. The token endpoint provided by the 3rd party platform to exchange an access token.
scopes MutableSequence[str]
Optional. The OAuth scopes to grant.