OAuthCredentialProvider¶
Structure Class¶
OAuthCredentialProvider
dataclass
¶
Bases: _SerdeShape
Configuration for an OAuth 2.0 credential provider used to authenticate tool calls.
Attributes¶
custom_parameters
class-attribute
instance-attribute
¶
Additional custom parameters to include in the OAuth 2.0 token request.
default_return_url
class-attribute
instance-attribute
¶
default_return_url: str | None = ...
The default return URL for the OAuth 2.0 authorization flow.
grant_type
class-attribute
instance-attribute
¶
grant_type: str = ...
The OAuth 2.0 grant type to use for authentication.