45 lines
1.4 KiB
JavaScript
45 lines
1.4 KiB
JavaScript
|
/*! @azure/msal-common v14.14.1 2024-08-13 */
|
||
|
'use strict';
|
||
|
import { createClientAuthError } from '../error/ClientAuthError.mjs';
|
||
|
import { methodNotImplemented } from '../error/ClientAuthErrorCodes.mjs';
|
||
|
|
||
|
/*
|
||
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
* Licensed under the MIT License.
|
||
|
*/
|
||
|
const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
||
|
createNewGuid: () => {
|
||
|
throw createClientAuthError(methodNotImplemented);
|
||
|
},
|
||
|
base64Decode: () => {
|
||
|
throw createClientAuthError(methodNotImplemented);
|
||
|
},
|
||
|
base64Encode: () => {
|
||
|
throw createClientAuthError(methodNotImplemented);
|
||
|
},
|
||
|
base64UrlEncode: () => {
|
||
|
throw createClientAuthError(methodNotImplemented);
|
||
|
},
|
||
|
encodeKid: () => {
|
||
|
throw createClientAuthError(methodNotImplemented);
|
||
|
},
|
||
|
async getPublicKeyThumbprint() {
|
||
|
throw createClientAuthError(methodNotImplemented);
|
||
|
},
|
||
|
async removeTokenBindingKey() {
|
||
|
throw createClientAuthError(methodNotImplemented);
|
||
|
},
|
||
|
async clearKeystore() {
|
||
|
throw createClientAuthError(methodNotImplemented);
|
||
|
},
|
||
|
async signJwt() {
|
||
|
throw createClientAuthError(methodNotImplemented);
|
||
|
},
|
||
|
async hashString() {
|
||
|
throw createClientAuthError(methodNotImplemented);
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export { DEFAULT_CRYPTO_IMPLEMENTATION };
|
||
|
//# sourceMappingURL=ICrypto.mjs.map
|