@ctx-core/auth0-management 10.0.83 → 10.0.85
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/auth0__v2_client__GET__fetch/index.d.ts +2 -2
- package/auth0__v2_client__GET__fetch/index.js +2 -2
- package/auth0__v2_client_grants__GET__fetch/index.d.ts +2 -2
- package/auth0__v2_client_grants__GET__fetch/index.js +2 -2
- package/auth0__v2_user__GET__fetch/index.d.ts +2 -2
- package/auth0__v2_user__GET__fetch/index.js +2 -2
- package/auth0__v2_user__PATCH__fetch/index.d.ts +2 -2
- package/auth0__v2_user__PATCH__fetch/index.js +2 -2
- package/auth0__v2_users_by_email__GET__fetch/index.d.ts +2 -2
- package/auth0__v2_users_by_email__GET__fetch/index.js +2 -2
- package/auth0_management__client_credentials__body__new/index.d.ts +2 -2
- package/auth0_management__client_credentials__body__new/index.js +1 -1
- package/auth0_management__init/index.d.ts +2 -2
- package/auth0_management__init/index.js +2 -2
- package/auth0_management__new/index.d.ts +2 -2
- package/auth0_management__new/index.js +2 -2
- package/auth0_management__token__new/index.d.ts +2 -2
- package/auth0_management__token__new/index.js +2 -2
- package/package.json +3 -3
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { Client } from 'auth0'
|
|
2
2
|
import type { Auth0Error } from 'auth0-js'
|
|
3
|
-
import type {
|
|
3
|
+
import type { ctx_T } from 'ctx-core/be'
|
|
4
4
|
import type { fetch__template_pair_T } from 'ctx-core/fetch'
|
|
5
5
|
export declare const [
|
|
6
6
|
auth0__v2_client__GET__fetch,
|
|
7
7
|
auth0__v2_client__GET__fetch2,
|
|
8
8
|
]:fetch__template_pair_T<
|
|
9
9
|
[
|
|
10
|
-
ctx:
|
|
10
|
+
ctx:ctx_T,
|
|
11
11
|
params:auth0__v2_client__GET__fetch__params_T
|
|
12
12
|
],
|
|
13
13
|
Client|Auth0Error
|
|
@@ -4,7 +4,7 @@ import { AUTH0_CLIENT_ID_, AUTH0_DOMAIN_, header__access_token__verify } from '@
|
|
|
4
4
|
import { fetch__template_pair__new } from 'ctx-core/fetch'
|
|
5
5
|
import { auth0_management__token__new } from '../auth0_management__token__new/index.js'
|
|
6
6
|
/** @typedef {import('ctx-core/fetch').response_pair_T} */
|
|
7
|
-
/** @typedef {
|
|
7
|
+
/** @typedef {ctx_T} */
|
|
8
8
|
/** @typedef {import('auth0').Client} */
|
|
9
9
|
/** @typedef {auth0__v2_client__GET__fetch__params_T} */
|
|
10
10
|
export const [
|
|
@@ -12,7 +12,7 @@ export const [
|
|
|
12
12
|
auth0__v2_client__GET__fetch2,
|
|
13
13
|
] = fetch__template_pair__new(
|
|
14
14
|
/**
|
|
15
|
-
* @param {
|
|
15
|
+
* @param {ctx_T}ctx
|
|
16
16
|
* @param {auth0__v2_client__GET__fetch__params_T}params
|
|
17
17
|
* @returns {Promise<response_pair_T<Client>>}
|
|
18
18
|
*/
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { ClientGrant } from 'auth0'
|
|
2
2
|
import type { Auth0Error } from 'auth0-js'
|
|
3
|
-
import type {
|
|
3
|
+
import type { ctx_T } from 'ctx-core/be'
|
|
4
4
|
import type { fetch__template_pair_T } from 'ctx-core/fetch'
|
|
5
5
|
export declare const [
|
|
6
6
|
auth0__v2_client_grants__GET__fetch,
|
|
7
7
|
auth0__v2_client_grants__GET__fetch2,
|
|
8
8
|
]:fetch__template_pair_T<
|
|
9
9
|
[
|
|
10
|
-
ctx:
|
|
10
|
+
ctx:ctx_T,
|
|
11
11
|
params:auth0__v2_client_grants__GET__fetch__params_T
|
|
12
12
|
],
|
|
13
13
|
ClientGrant|Auth0Error
|
|
@@ -5,7 +5,7 @@ import { fetch__template_pair__new } from 'ctx-core/fetch'
|
|
|
5
5
|
import { query_str_ } from 'ctx-core/uri'
|
|
6
6
|
import { auth0_management__token__new } from '../auth0_management__token__new/index.js'
|
|
7
7
|
/** @typedef {import('ctx-core/fetch').response_pair_T} */
|
|
8
|
-
/** @typedef {
|
|
8
|
+
/** @typedef {ctx_T} */
|
|
9
9
|
/** @typedef {import('auth0').CreateClientGrant} */
|
|
10
10
|
/** @typedef {auth0__v2_client_grants__GET__fetch__params_T} */
|
|
11
11
|
export const [
|
|
@@ -13,7 +13,7 @@ export const [
|
|
|
13
13
|
auth0__v2_client_grants__GET__fetch2,
|
|
14
14
|
] = fetch__template_pair__new(
|
|
15
15
|
/**
|
|
16
|
-
* @param {
|
|
16
|
+
* @param {ctx_T}ctx
|
|
17
17
|
* @param {auth0__v2_client_grants__GET__fetch__params_T}params
|
|
18
18
|
* @returns {Promise<response_pair_T<CreateClientGrant>>}
|
|
19
19
|
*/
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { UserProfile } from 'auth0'
|
|
2
2
|
import type { Auth0Error } from 'auth0-js'
|
|
3
|
-
import type {
|
|
3
|
+
import type { ctx_T } from 'ctx-core/be'
|
|
4
4
|
import type { fetch__template_pair_T } from 'ctx-core/fetch'
|
|
5
5
|
export declare const [
|
|
6
6
|
auth0__v2_user__GET__fetch,
|
|
7
7
|
auth0__v2_user__GET__fetch2,
|
|
8
8
|
]:fetch__template_pair_T<
|
|
9
9
|
[
|
|
10
|
-
ctx:
|
|
10
|
+
ctx:ctx_T,
|
|
11
11
|
params:auth0__v2_user__GET__fetch__params_T
|
|
12
12
|
],
|
|
13
13
|
UserProfile|Auth0Error
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { AUTH0_DOMAIN_, header__access_token__verify } from '@ctx-core/auth0'
|
|
4
4
|
import { fetch__template_pair__new } from 'ctx-core/fetch'
|
|
5
5
|
import { auth0_management__token__new } from '../auth0_management__token__new/index.js'
|
|
6
|
-
/** @typedef {
|
|
6
|
+
/** @typedef {ctx_T} */
|
|
7
7
|
/** @typedef {import('auth0').User} */
|
|
8
8
|
/** @typedef {auth0__v2_user__GET__fetch__params_T} */
|
|
9
9
|
export const [
|
|
@@ -11,7 +11,7 @@ export const [
|
|
|
11
11
|
auth0__v2_user__GET__fetch2,
|
|
12
12
|
] = fetch__template_pair__new(
|
|
13
13
|
/**
|
|
14
|
-
* @param {
|
|
14
|
+
* @param {ctx_T}ctx
|
|
15
15
|
* @param {auth0__v2_user__GET__fetch__params_T}params
|
|
16
16
|
* @return {Promise<Response>}
|
|
17
17
|
*/
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { UserProfile, UserUpdate } from 'auth0'
|
|
2
2
|
import type { Auth0Error } from 'auth0-js'
|
|
3
|
-
import type {
|
|
3
|
+
import type { ctx_T } from 'ctx-core/be'
|
|
4
4
|
import type { fetch__template_pair_T } from 'ctx-core/fetch'
|
|
5
5
|
export declare const [
|
|
6
6
|
auth0__v2_user__PATCH__fetch,
|
|
7
7
|
auth0__v2_user__PATCH__fetch2,
|
|
8
8
|
]:fetch__template_pair_T<
|
|
9
9
|
[
|
|
10
|
-
ctx:
|
|
10
|
+
ctx:ctx_T,
|
|
11
11
|
user_id:string,
|
|
12
12
|
data:auth0__v2_user__PATCH__fetch__data_T
|
|
13
13
|
],
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { AUTH0_DOMAIN_, header__access_token__verify } from '@ctx-core/auth0'
|
|
4
4
|
import { fetch__template_pair__new } from 'ctx-core/fetch'
|
|
5
5
|
import { auth0_management__token__new } from '../auth0_management__token__new/index.js'
|
|
6
|
-
/** @typedef {
|
|
6
|
+
/** @typedef {ctx_T} */
|
|
7
7
|
/** @typedef {import('auth0').UpdateUserData} */
|
|
8
8
|
/** @typedef {auth0__v2_user__PATCH__fetch__data_T} */
|
|
9
9
|
/** @typedef {auth0__v2_user__PATCH__error_T} */
|
|
@@ -12,7 +12,7 @@ export const [
|
|
|
12
12
|
auth0__v2_user__PATCH__fetch2,
|
|
13
13
|
] = fetch__template_pair__new(
|
|
14
14
|
/**
|
|
15
|
-
* @param {
|
|
15
|
+
* @param {ctx_T}ctx
|
|
16
16
|
* @param {string}user_id
|
|
17
17
|
* @param {auth0__v2_user__PATCH__fetch__data_T}data
|
|
18
18
|
* @return {Promise<[UpdateUserData|auth0__v2_user__PATCH__error_T, Response]>}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Auth0Error, Auth0UserProfile } from 'auth0-js'
|
|
2
|
-
import type {
|
|
2
|
+
import type { ctx_T } from 'ctx-core/be'
|
|
3
3
|
import type { fetch__template_pair_T } from 'ctx-core/fetch'
|
|
4
4
|
export declare const [
|
|
5
5
|
auth0__v2_users_by_email__GET__fetch,
|
|
6
6
|
auth0__v2_users_by_email__GET__fetch2,
|
|
7
7
|
]:fetch__template_pair_T<
|
|
8
8
|
[
|
|
9
|
-
ctx:
|
|
9
|
+
ctx:ctx_T,
|
|
10
10
|
params:auth0__v2_users_by_email__GET__fetch__params_T
|
|
11
11
|
],
|
|
12
12
|
Auth0UserProfile[]|Auth0Error
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { AUTH0_DOMAIN_, header__access_token__verify } from '@ctx-core/auth0'
|
|
4
4
|
import { fetch__template_pair__new } from 'ctx-core/fetch'
|
|
5
5
|
import { auth0_management__token__new } from '../auth0_management__token__new/index.js'
|
|
6
|
-
/** @typedef {
|
|
6
|
+
/** @typedef {ctx_T} */
|
|
7
7
|
/** @type {import('auth0-js').Auth0UserProfile} */
|
|
8
8
|
/** @typedef {auth0__v2_users_by_email__GET__fetch__params_T} */
|
|
9
9
|
export const [
|
|
@@ -11,7 +11,7 @@ export const [
|
|
|
11
11
|
auth0__v2_users_by_email__GET__fetch2,
|
|
12
12
|
] = fetch__template_pair__new(
|
|
13
13
|
/**
|
|
14
|
-
* @param {
|
|
14
|
+
* @param {ctx_T}ctx
|
|
15
15
|
* @param {auth0__v2_users_by_email__GET__fetch__params_T}params
|
|
16
16
|
* @return {Promise<[Auth0UserProfile[], Response]>}
|
|
17
17
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { auth0__oauth_token__fetch__body_T } from '@ctx-core/auth0'
|
|
2
|
-
import type {
|
|
2
|
+
import type { ctx_T } from 'ctx-core/be'
|
|
3
3
|
export declare function auth0_management__client_credentials__body__new(
|
|
4
|
-
ctx:
|
|
4
|
+
ctx:ctx_T
|
|
5
5
|
):auth0__oauth_token__fetch__body_T
|
|
6
6
|
export {
|
|
7
7
|
auth0_management__client_credentials__body__new as auth0_management__client_credentials__body_,
|
|
@@ -3,7 +3,7 @@ import { auth0__v2__url_ } from '@ctx-core/auth0'
|
|
|
3
3
|
import { AUTH0_MANAGEMENT_ID_ } from '../AUTH0_MANAGEMENT_ID/index.js'
|
|
4
4
|
import { AUTH0_MANAGEMENT_SECRET_ } from '../AUTH0_MANAGEMENT_SECRET/index.js'
|
|
5
5
|
/**
|
|
6
|
-
* @param {
|
|
6
|
+
* @param {ctx_T}ctx
|
|
7
7
|
* @return {import('@ctx-core/auth0').auth0__oauth_token__fetch__body_T}
|
|
8
8
|
*/
|
|
9
9
|
export function auth0_management__client_credentials__body__new(ctx) {
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import { import_meta_env_ } from 'ctx-core/env'
|
|
4
4
|
import { AUTH0_MANAGEMENT_ID__set } from '../AUTH0_MANAGEMENT_ID/index.js'
|
|
5
5
|
import { AUTH0_MANAGEMENT_SECRET__set } from '../AUTH0_MANAGEMENT_SECRET/index.js'
|
|
6
|
-
/** @typedef {
|
|
6
|
+
/** @typedef {ctx_T} */
|
|
7
7
|
/** @typedef {auth0_management__init__params_T} */
|
|
8
8
|
/**
|
|
9
|
-
* @param {
|
|
9
|
+
* @param {ctx_T}ctx
|
|
10
10
|
* @param {auth0_management__init__params_T}params
|
|
11
11
|
*/
|
|
12
12
|
export function auth0_management__init(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ManagementClient } from 'auth0'
|
|
2
|
-
import type {
|
|
2
|
+
import type { ctx_T } from 'ctx-core/be'
|
|
3
3
|
export declare function auth0_management__new(
|
|
4
|
-
ctx:
|
|
4
|
+
ctx:ctx_T,
|
|
5
5
|
params?:auth0_management__params_T
|
|
6
6
|
):ManagementClient
|
|
7
7
|
export {
|
|
@@ -4,11 +4,11 @@ import { AUTH0_DOMAIN_ } from '@ctx-core/auth0'
|
|
|
4
4
|
import { ManagementClient } from 'auth0'
|
|
5
5
|
import { AUTH0_MANAGEMENT_ID_ } from '../AUTH0_MANAGEMENT_ID/index.js'
|
|
6
6
|
import { AUTH0_MANAGEMENT_SECRET_ } from '../AUTH0_MANAGEMENT_SECRET/index.js'
|
|
7
|
-
/** @typedef {
|
|
7
|
+
/** @typedef {ctx_T} */
|
|
8
8
|
/** @typedef {import('auth0').ManagementClient} */
|
|
9
9
|
/** @typedef {auth0_management__params_T} */
|
|
10
10
|
/**
|
|
11
|
-
* @param {
|
|
11
|
+
* @param {ctx_T}ctx
|
|
12
12
|
* @param {auth0_management__params_T}params
|
|
13
13
|
* @returns {ManagementClient}
|
|
14
14
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { auth0__token_T } from '@ctx-core/auth0'
|
|
2
|
-
import type {
|
|
2
|
+
import type { ctx_T } from 'ctx-core/be'
|
|
3
3
|
export declare function auth0_management__token__new(
|
|
4
|
-
ctx:
|
|
4
|
+
ctx:ctx_T
|
|
5
5
|
):Promise<auth0__token_T>
|
|
6
6
|
export {
|
|
7
7
|
auth0_management__token__new as auth0_management_token_,
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
auth0_management__client_credentials__body__new
|
|
6
6
|
} from '../auth0_management__client_credentials__body__new/index.js'
|
|
7
7
|
/** @typedef {import('@ctx-core/auth0').auth0__token_T} */
|
|
8
|
-
/** @typedef {
|
|
8
|
+
/** @typedef {ctx_T} */
|
|
9
9
|
/** @typedef {import('auth0-js').Auth0Error} */
|
|
10
10
|
/**
|
|
11
|
-
* @param {
|
|
11
|
+
* @param {ctx_T}ctx
|
|
12
12
|
* @return {Promise<auth0__token_T>}
|
|
13
13
|
*/
|
|
14
14
|
export async function auth0_management__token__new(ctx) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctx-core/auth0-management",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.85",
|
|
4
4
|
"description": "ctx-core auth0 management api",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ctx-core",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"getAll-client-grants-auth0": "./bin/getAll-client-grants-auth0.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@ctx-core/auth0": "^40.1.
|
|
49
|
+
"@ctx-core/auth0": "^40.1.211",
|
|
50
50
|
"auth0": "^4.3.0",
|
|
51
|
-
"ctx-core": "^
|
|
51
|
+
"ctx-core": "^6.1.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/auth0": "^3.3.10",
|