McpOAuthAuthorizationMode
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllThe MCP OAuth authorization flow.
[JsonConverter(typeof(JsonStringEnumConverter<McpOAuthAuthorizationMode>))]public enum McpOAuthAuthorizationModeFields
Section titled “Fields”AuthorizationCode = 0
The authorization code flow (Authorization Code + PKCE). Started from
the admin UI with /oauth/start, redirected to the provider, and
returns to /oauth/callback.
Remarks
Section titled “Remarks”A single value: ModelContextProtocol.Core 2.0.0 supports only the Authorization Code (+PKCE) flow; ClientOAuthOptions.RedirectUri is a required field, and the library offers no non-interactive client-credentials flow. The value is still kept as an enum — if the SDK adds another flow later (for example, client_credentials), the extension point is ready.