@ctx-core/auth0-management 9.1.3 → 9.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { auth0__oauth_token__fetch_post } from '@ctx-core/auth0'
|
|
2
2
|
import { auth0_management__client_credentials__body_ } from '../auth0_management__client_credentials__body_/index.js'
|
|
3
3
|
/**
|
|
4
4
|
* @param {import('@ctx-core/object').Ctx}ctx
|
|
5
5
|
* @return {Promise<import('@ctx-core/auth0').auth0__token_T>}
|
|
6
6
|
*/
|
|
7
7
|
export async function auth0_management__token_(ctx) {
|
|
8
|
-
const [token_response] = await
|
|
8
|
+
const [token_response] = await auth0__oauth_token__fetch_post(
|
|
9
9
|
ctx, auth0_management__client_credentials__body_(ctx))
|
|
10
10
|
return token_response
|
|
11
11
|
}
|