Estructura inicial del proyecto
This commit is contained in:
19
backend/node_modules/@azure/msal-browser/src/cache/EncryptedData.ts
generated
vendored
Normal file
19
backend/node_modules/@azure/msal-browser/src/cache/EncryptedData.ts
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
export type EncryptedData = {
|
||||
id: string;
|
||||
nonce: string;
|
||||
data: string;
|
||||
lastUpdatedAt: string;
|
||||
};
|
||||
|
||||
export function isEncrypted(data: object): data is EncryptedData {
|
||||
return (
|
||||
data.hasOwnProperty("id") &&
|
||||
data.hasOwnProperty("nonce") &&
|
||||
data.hasOwnProperty("data")
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user