feat(external-registry): Enhance authentication handling and update UI for external registries

This commit is contained in:
2025-09-10 08:50:32 +00:00
parent 01d877f7ed
commit 6a447369f8
3 changed files with 47 additions and 35 deletions

View File

@@ -19,14 +19,14 @@ export interface IExternalRegistry {
url: string;
/**
* Username for authentication
* Username for authentication (optional for token-based or public registries)
*/
username: string;
username?: string;
/**
* Password or access token for authentication
* Password, access token, or API key for authentication (optional for public registries)
*/
password: string;
password?: string;
/**
* Optional description
@@ -41,7 +41,7 @@ export interface IExternalRegistry {
/**
* Authentication type
*/
authType?: 'basic' | 'token' | 'oauth2';
authType?: 'none' | 'basic' | 'token' | 'oauth2';
/**
* Allow insecure registry connections (HTTP or self-signed certs)