IntelligenceX
Class

CopilotAuthStatus

Namespace IntelligenceX.Copilot
Assembly IntelligenceX
Modifiers sealed

Represents the Copilot authentication status.

Inheritance

  • Object
  • CopilotAuthStatus

Constructors

public CopilotAuthStatus(Boolean isAuthenticated, String authType, String host, String login, String statusMessage, JsonObject raw, JsonObject additional) #

Initializes a new auth status instance.

Parameters

isAuthenticated System.Boolean
authType System.String
host System.String
login System.String
statusMessage System.String
raw IntelligenceX.Json.JsonObject
additional IntelligenceX.Json.JsonObject

Methods

public static CopilotAuthStatus FromJson(JsonObject obj) #
Returns: CopilotAuthStatus

Parses a Copilot auth status from JSON.

Parameters

obj IntelligenceX.Json.JsonObject
Source JSON object.

Returns

The parsed status.

Properties

public Boolean IsAuthenticated { get; } #

Gets a value indicating whether the user is authenticated.

public String AuthType { get; } #

Gets the auth type.

public String Host { get; } #

Gets the host name.

public String Login { get; } #

Gets the login name.

public String StatusMessage { get; } #

Gets the status message.

public JsonObject Raw { get; } #

Gets the raw JSON object.

public JsonObject Additional { get; } #

Gets unrecognized fields from the payload.