Azure ClientSecretCredential support (#3456)

Co-authored-by: Suchintan <suchintan@users.noreply.github.com>
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
stenn930
2025-09-23 10:16:48 -06:00
committed by GitHub
parent 10fac9bad0
commit a29a2bc49b
12 changed files with 592 additions and 71 deletions

View File

@@ -194,6 +194,30 @@ export type CreateOnePasswordTokenResponse = {
token: OnePasswordTokenApiResponse;
};
export interface AzureClientSecretCredential {
tenant_id: string;
client_id: string;
client_secret: string;
}
export interface AzureOrganizationAuthToken {
id: string;
organization_id: string;
credential: AzureClientSecretCredential;
created_at: string;
modified_at: string;
token_type: string;
valid: boolean;
}
export interface CreateAzureClientSecretCredentialRequest {
credential: AzureClientSecretCredential;
}
export interface AzureClientSecretCredentialResponse {
token: AzureOrganizationAuthToken;
}
// TODO complete this
export const ActionTypes = {
InputText: "input_text",