@sphereon/ssi-sdk.ms-authenticator
Advanced tools
Comparing version 0.30.2-unstable.27 to 0.31.0
@@ -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-unstable.27+753b2505", | ||
"version": "0.31.0", | ||
"source": "src/index.ts", | ||
@@ -25,3 +25,3 @@ "main": "dist/index.js", | ||
"engines": { | ||
"node": ">= 16.0" | ||
"node": ">= 20.0.0 < 22" | ||
}, | ||
@@ -50,3 +50,4 @@ "files": [ | ||
], | ||
"gitHead": "753b2505c6e3fc81d2cd63edc81a6f0d41467eb8" | ||
"nx": {}, | ||
"gitHead": "3010f7bc57ed5f8d7953b6bf893e3164ea1821e8" | ||
} |
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
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
0
46138
505