datarobot_genai.dragent.plugins.datarobot_auth_provider
datarobot_auth_provider
DataRobotMCPAuthProvider
Bases: AuthProviderBase[DataRobotMCPAuthProviderConfig]
Source code in datarobot_genai/dragent/plugins/datarobot_auth_provider.py
authenticate
async
Authenticate the user using the API key credentials.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
user_id
|
str
|
The user ID to authenticate. |
None
|
Returns
AuthenticatedContext: The authenticated context containing headers