Merge pull request #22177 from andmagom/kubernetes/CustomAuthMetaToFrontend
Feature: Clusters endpoint is able to return Custom auth metadata info
This commit is contained in:
@@ -25,6 +25,8 @@ export interface AuthenticationStrategy {
|
||||
authConfig: KubernetesRequestAuth,
|
||||
): Promise<KubernetesCredential>;
|
||||
// (undocumented)
|
||||
presentAuthMetadata(authMetadata: AuthMetadata): AuthMetadata;
|
||||
// (undocumented)
|
||||
validateCluster(authMetadata: AuthMetadata): Error[];
|
||||
}
|
||||
|
||||
|
||||
@@ -152,6 +152,7 @@ export interface AuthenticationStrategy {
|
||||
authConfig: KubernetesRequestAuth,
|
||||
): Promise<KubernetesCredential>;
|
||||
validateCluster(authMetadata: AuthMetadata): Error[];
|
||||
presentAuthMetadata(authMetadata: AuthMetadata): AuthMetadata;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user