McpOAuthCompleteResult
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllThe result of the OAuth callback.
public sealed record McpOAuthCompleteResult : IEquatable<McpOAuthCompleteResult>Inheritance
Section titled “Inheritance”object ← McpOAuthCompleteResult
Implements
Section titled “Implements”IEquatable<McpOAuthCompleteResult>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”McpOAuthCompleteResult()
Section titled “ McpOAuthCompleteResult()”public McpOAuthCompleteResult()Properties
Section titled “Properties”The failure reason (safe to show to the user, carries no secret).
public string? Error { get; init; }Property Value
Section titled “Property Value”ServerName
Section titled “ ServerName”The name of the authorized server. null for McpOAuthOperationStatus.InvalidState.
public string? ServerName { get; init; }Property Value
Section titled “Property Value”Status
Section titled “ Status”The result status.
public required McpOAuthOperationStatus Status { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(McpOAuthCompleteResult?)
Section titled “ Equals(McpOAuthCompleteResult?)”public bool Equals(McpOAuthCompleteResult? other)Parameters
Section titled “Parameters”other McpOAuthCompleteResult?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(McpOAuthCompleteResult?, McpOAuthCompleteResult?)
Section titled “ operator ==(McpOAuthCompleteResult?, McpOAuthCompleteResult?)”public static bool operator ==(McpOAuthCompleteResult? left, McpOAuthCompleteResult? right)Parameters
Section titled “Parameters”left McpOAuthCompleteResult?
right McpOAuthCompleteResult?
Returns
Section titled “Returns”operator !=(McpOAuthCompleteResult?, McpOAuthCompleteResult?)
Section titled “ operator !=(McpOAuthCompleteResult?, McpOAuthCompleteResult?)”public static bool operator !=(McpOAuthCompleteResult? left, McpOAuthCompleteResult? right)Parameters
Section titled “Parameters”left McpOAuthCompleteResult?
right McpOAuthCompleteResult?