OAuth grant type to use when authenticating to the remote MCP server. OAuth grant type override for this login. Optional OAuth grant type override for this login. Defaults to the server configuration, or authorization_code when no grant type is specified.
| 2970 | |
| 2971 | # Experimental: this type is part of an experimental API and may change or be removed. |
| 2972 | class MCPGrantType(Enum): |
| 2973 | """OAuth grant type to use when authenticating to the remote MCP server. |
| 2974 | |
| 2975 | OAuth grant type override for this login. |
| 2976 | |
| 2977 | Optional OAuth grant type override for this login. Defaults to the server configuration, |
| 2978 | or authorization_code when no grant type is specified. |
| 2979 | """ |
| 2980 | AUTHORIZATION_CODE = "authorization_code" |
| 2981 | CLIENT_CREDENTIALS = "client_credentials" |
| 2982 | |
| 2983 | # Experimental: this type is part of an experimental API and may change or be removed. |
| 2984 | class MCPServerConfigHTTPType(Enum): |
no outgoing calls
no test coverage detected
searching dependent graphs…