@sphereon/ssi-sdk.ms-authenticator
Advanced tools
Comparing version 0.30.2-feature.SPRIND.61.JARM.pex.fixes.40 to 0.30.2-feature.SPRIND.73.260
@@ -15,3 +15,10 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.determineMSAuthId = exports.UsernamePasswordAuthenticator = exports.newMSClientCredentialAuthenticator = exports.getMSClientCredentialAccessToken = exports.assertEntraCredentialManifestUrlInCorrectRegion = exports.getEntraDIDEndpoint = exports.getMSOpenIDClientRegion = exports.MS_DID_ENDPOINT_EU = exports.MS_DID_ENDPOINT_NON_EU = void 0; | ||
exports.MS_DID_ENDPOINT_EU = exports.MS_DID_ENDPOINT_NON_EU = void 0; | ||
exports.getMSOpenIDClientRegion = getMSOpenIDClientRegion; | ||
exports.getEntraDIDEndpoint = getEntraDIDEndpoint; | ||
exports.assertEntraCredentialManifestUrlInCorrectRegion = assertEntraCredentialManifestUrlInCorrectRegion; | ||
exports.getMSClientCredentialAccessToken = getMSClientCredentialAccessToken; | ||
exports.newMSClientCredentialAuthenticator = newMSClientCredentialAuthenticator; | ||
exports.UsernamePasswordAuthenticator = UsernamePasswordAuthenticator; | ||
exports.determineMSAuthId = determineMSAuthId; | ||
const msal_node_1 = require("@azure/msal-node"); | ||
@@ -43,3 +50,2 @@ const cross_fetch_1 = require("cross-fetch"); | ||
} | ||
exports.getMSOpenIDClientRegion = getMSOpenIDClientRegion; | ||
function getEntraDIDEndpoint(opts) { | ||
@@ -52,3 +58,2 @@ return __awaiter(this, void 0, void 0, function* () { | ||
} | ||
exports.getEntraDIDEndpoint = getEntraDIDEndpoint; | ||
function assertEntraCredentialManifestUrlInCorrectRegion(authenticationArgs) { | ||
@@ -65,3 +70,2 @@ return __awaiter(this, void 0, void 0, function* () { | ||
} | ||
exports.assertEntraCredentialManifestUrlInCorrectRegion = assertEntraCredentialManifestUrlInCorrectRegion; | ||
/** | ||
@@ -109,3 +113,2 @@ * necessary fields are: | ||
} | ||
exports.getMSClientCredentialAccessToken = getMSClientCredentialAccessToken; | ||
function newMSClientCredentialAuthenticator(authenticationArgs) { | ||
@@ -131,3 +134,2 @@ return __awaiter(this, void 0, void 0, function* () { | ||
} | ||
exports.newMSClientCredentialAuthenticator = newMSClientCredentialAuthenticator; | ||
/** | ||
@@ -154,3 +156,2 @@ * Logs in with provided authenticationArgs and returns access token | ||
} | ||
exports.UsernamePasswordAuthenticator = UsernamePasswordAuthenticator; | ||
function authOptions(authenticationArgs) { | ||
@@ -162,3 +163,2 @@ return Object.assign({ clientId: authenticationArgs.azClientId, authority: authenticationArgs.authority ? authenticationArgs.authority : MS_LOGIN_PREFIX + authenticationArgs.azTenantId }, (authenticationArgs && 'azClientSecret' in authenticationArgs && { clientSecret: authenticationArgs.azClientSecret })); | ||
} | ||
exports.determineMSAuthId = determineMSAuthId; | ||
//# sourceMappingURL=MsAuthenticator.js.map |
{ | ||
"name": "@sphereon/ssi-sdk.ms-authenticator", | ||
"version": "0.30.2-feature.SPRIND.61.JARM.pex.fixes.40+ab9c1c8a", | ||
"version": "0.30.2-feature.SPRIND.73.260+1d5c7cee", | ||
"source": "src/index.ts", | ||
@@ -25,3 +25,3 @@ "main": "dist/index.js", | ||
"engines": { | ||
"node": ">= 16.0" | ||
"node": ">= 20.0.0 < 22" | ||
}, | ||
@@ -51,3 +51,3 @@ "files": [ | ||
"nx": {}, | ||
"gitHead": "ab9c1c8a0e81431c38f5c74633535c0292c85c81" | ||
"gitHead": "1d5c7cee277420a28bab0e131a647bb090d62a70" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
46169
505