Okta.Sdk by Okta, Inc.

<PackageReference Include="Okta.Sdk" Version="5.6.0" />

.NET API 744,448 bytes

 OktaApiException

An exception wrapping an error returned by the Okta API.
public IApiError Error { get; }

Gets the error object returned by the Okta API.

Gets the list of error causes from the Error object.

public string ErrorCode { get; }

Gets the error code from the Error object.

public string ErrorId { get; }

Gets the error ID from the Error object.

public string ErrorLink { get; }

Gets the error link from the Error object.

public string ErrorSummary { get; }

Gets the error summary from the Error object.

public int StatusCode { get; }

Gets the HTTP status code.

public OktaApiException(int statusCode, IApiError error)

Initializes a new instance of the OktaApiException class.