Class
CopilotAuthStatus
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:
CopilotAuthStatusParses a Copilot auth status from JSON.
Parameters
- obj IntelligenceX.Json.JsonObject
- Source JSON object.
Returns
The parsed status.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
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.