getDeploySettingsWithHttpInfo method

Future<Response> getDeploySettingsWithHttpInfo()

Returns the argocd AuthSettings object the dashboard SPA awaits before its first render.

Returns the argocd AuthSettings object the dashboard SPA awaits before its first render. Every value is a CONSTANT of this projection rather than configuration read from anywhere: the SPA's own login form is reported disabled and its OIDC config null because Hanzo IAM owns identity at the edge and this console's sign-in is GET /v1/deploy/login, and every argocd feature the projection does not implement — status badges, Dex connectors, config-management plugins, kustomize versions, the exec terminal, apps-in-any-namespace, the hydrator, sync-with-replace — is reported off. Platform SuperAdmin only.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getDeploySettingsWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/deploy/settings';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}