McpOAuthOperationStatus
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllThe result status of an OAuth authorization request.
public enum McpOAuthOperationStatusFields
Section titled “Fields”AuthorizationFailed = 5
The provider rejected the code exchange, or the user cancelled authorization.
ConnectionFailed = 3
Could not connect to the server to get the authorization address (including timeout).
InvalidState = 4
The state is unknown or has expired (CSRF protection).
NotConfigured = 2
The server is not set up for OAuth, the flow is not
McpOAuthAuthorizationMode.AuthorizationCode, or
AgentPrism:Mcp:OAuthCallbackBaseUri is not configured.
Ok = 0
The request succeeded.
ServerNotFound = 1
No server is registered with this name.