Notify STS when encryption keys are updated in azurecore (#22384)

This commit is contained in:
Cheena Malhotra
2023-03-22 11:46:30 -07:00
committed by GitHub
parent 1e4800a60c
commit 94b3261276
8 changed files with 124 additions and 35 deletions

View File

@@ -1604,3 +1604,25 @@ export namespace DropObjectRequest {
export const type = new RequestType<DropObjectRequestParams, void, void, void>('objectManagement/drop');
}
// ------------------------------- < Object Management > ------------------------------------
// ------------------------------- < Encryption IV/KEY updation Event > ------------------------------------
/**
* Parameters for the MSAL cache encryption key notification
*/
export class DidChangeEncryptionIVKeyParams {
/**
* Buffer encoded IV string for MSAL cache encryption
*/
public iv: string;
/**
* Buffer encoded Key string for MSAL cache encryption
*/
public key: string;
}
/**
* Notification sent when the encryption keys are changed.
*/
export namespace EncryptionKeysChangedNotification {
export const type = new NotificationType<DidChangeEncryptionIVKeyParams, void>('connection/encryptionKeysChanged');
}