feat(external-registry): Enhance authentication handling and update UI for external registries
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user