@superblocksteam/shared 0.9608.0 → 0.9608.2
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/dist/types/response/IssueSuperblocksResponseBody.d.ts +13 -0
- package/dist/types/response/IssueSuperblocksResponseBody.d.ts.map +1 -1
- package/dist-esm/types/response/IssueSuperblocksResponseBody.d.ts +13 -0
- package/dist-esm/types/response/IssueSuperblocksResponseBody.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/types/response/IssueSuperblocksResponseBody.ts +14 -0
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import { OAuthTokenResponse } from '../../index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Tells the browser to link the user's login connection to the Token Vault, so
|
|
4
|
+
* later logins and token mints can refresh the identity provider token instead
|
|
5
|
+
* of reusing the one captured at login. Sent only when the organization has
|
|
6
|
+
* refresh enabled and Auth0 holds no refresh token for this user yet.
|
|
7
|
+
*/
|
|
8
|
+
export type TokenVaultSeedRequest = {
|
|
9
|
+
/** Auth0 connection name to link. */
|
|
10
|
+
connection: string;
|
|
11
|
+
/** Email to preselect at the identity provider, so the linked account is the one that logged in. */
|
|
12
|
+
login_hint: string;
|
|
13
|
+
};
|
|
2
14
|
export type IssueSuperblocksTokenResponseBody = OAuthTokenResponse & {
|
|
3
15
|
access_token: string;
|
|
4
16
|
token_type: string;
|
|
17
|
+
token_vault_seed?: TokenVaultSeedRequest;
|
|
5
18
|
};
|
|
6
19
|
//# sourceMappingURL=IssueSuperblocksResponseBody.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IssueSuperblocksResponseBody.d.ts","sourceRoot":"","sources":["../../../src/types/response/IssueSuperblocksResponseBody.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpD,MAAM,MAAM,iCAAiC,GAAG,kBAAkB,GAAG;IACnE,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"IssueSuperblocksResponseBody.d.ts","sourceRoot":"","sources":["../../../src/types/response/IssueSuperblocksResponseBody.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpD;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,qCAAqC;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,oGAAoG;IACpG,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG,kBAAkB,GAAG;IACnE,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;CAC1C,CAAC"}
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import { OAuthTokenResponse } from '../../index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Tells the browser to link the user's login connection to the Token Vault, so
|
|
4
|
+
* later logins and token mints can refresh the identity provider token instead
|
|
5
|
+
* of reusing the one captured at login. Sent only when the organization has
|
|
6
|
+
* refresh enabled and Auth0 holds no refresh token for this user yet.
|
|
7
|
+
*/
|
|
8
|
+
export type TokenVaultSeedRequest = {
|
|
9
|
+
/** Auth0 connection name to link. */
|
|
10
|
+
connection: string;
|
|
11
|
+
/** Email to preselect at the identity provider, so the linked account is the one that logged in. */
|
|
12
|
+
login_hint: string;
|
|
13
|
+
};
|
|
2
14
|
export type IssueSuperblocksTokenResponseBody = OAuthTokenResponse & {
|
|
3
15
|
access_token: string;
|
|
4
16
|
token_type: string;
|
|
17
|
+
token_vault_seed?: TokenVaultSeedRequest;
|
|
5
18
|
};
|
|
6
19
|
//# sourceMappingURL=IssueSuperblocksResponseBody.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IssueSuperblocksResponseBody.d.ts","sourceRoot":"","sources":["../../../src/types/response/IssueSuperblocksResponseBody.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpD,MAAM,MAAM,iCAAiC,GAAG,kBAAkB,GAAG;IACnE,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"IssueSuperblocksResponseBody.d.ts","sourceRoot":"","sources":["../../../src/types/response/IssueSuperblocksResponseBody.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpD;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,qCAAqC;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,oGAAoG;IACpG,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG,kBAAkB,GAAG;IACnE,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;CAC1C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
import { OAuthTokenResponse } from '../../index.js';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Tells the browser to link the user's login connection to the Token Vault, so
|
|
5
|
+
* later logins and token mints can refresh the identity provider token instead
|
|
6
|
+
* of reusing the one captured at login. Sent only when the organization has
|
|
7
|
+
* refresh enabled and Auth0 holds no refresh token for this user yet.
|
|
8
|
+
*/
|
|
9
|
+
export type TokenVaultSeedRequest = {
|
|
10
|
+
/** Auth0 connection name to link. */
|
|
11
|
+
connection: string;
|
|
12
|
+
/** Email to preselect at the identity provider, so the linked account is the one that logged in. */
|
|
13
|
+
login_hint: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
3
16
|
export type IssueSuperblocksTokenResponseBody = OAuthTokenResponse & {
|
|
4
17
|
access_token: string;
|
|
5
18
|
token_type: string;
|
|
19
|
+
token_vault_seed?: TokenVaultSeedRequest;
|
|
6
20
|
};
|