@thunderid/vue 1.12.0 → 1.13.0
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/api/auth/executeEmbeddedSelfFlow.d.ts +22 -0
- package/dist/api/auth/executeEmbeddedSelfFlow.d.ts.map +1 -0
- package/dist/cjs/index.cjs +1026 -105
- package/dist/components/account/user-profile/BaseUserProfile.d.ts +42 -2
- package/dist/components/account/user-profile/BaseUserProfile.d.ts.map +1 -1
- package/dist/components/account/user-profile/UserProfile.css.d.ts +1 -1
- package/dist/components/account/user-profile/UserProfile.css.d.ts.map +1 -1
- package/dist/components/account/user-profile/UserProfile.d.ts.map +1 -1
- package/dist/components/account/verify-attribute/BaseVerifyAttribute.d.ts +83 -0
- package/dist/components/account/verify-attribute/BaseVerifyAttribute.d.ts.map +1 -0
- package/dist/components/account/verify-attribute/VerifyAttribute.css.d.ts +7 -0
- package/dist/components/account/verify-attribute/VerifyAttribute.css.d.ts.map +1 -0
- package/dist/components/account/verify-attribute/VerifyAttribute.d.ts +23 -0
- package/dist/components/account/verify-attribute/VerifyAttribute.d.ts.map +1 -0
- package/dist/components/auth/flow/AuthOptionFactory.d.ts +1 -1
- package/dist/components/auth/flow/AuthOptionFactory.d.ts.map +1 -1
- package/dist/components/auth/flow/AuthOptionFactoryCore.d.ts +5 -0
- package/dist/components/auth/flow/AuthOptionFactoryCore.d.ts.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1001 -107
- package/dist/styles/injectStyles.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EmbeddedSelfFlowResponse, ExecuteEmbeddedSelfFlowConfig as BaseExecuteEmbeddedSelfFlowConfig } from '@thunderid/browser';
|
|
2
|
+
export interface ExecuteEmbeddedSelfFlowConfig extends Omit<BaseExecuteEmbeddedSelfFlowConfig, 'fetcher'> {
|
|
3
|
+
/**
|
|
4
|
+
* Optional custom fetcher function. If not provided, the ThunderID SPA client's httpClient is used,
|
|
5
|
+
* which attaches the signed-in user's access token.
|
|
6
|
+
*/
|
|
7
|
+
fetcher?: (url: string, config: RequestInit) => Promise<Response>;
|
|
8
|
+
/**
|
|
9
|
+
* Optional instance ID for multi-instance support. Defaults to 0.
|
|
10
|
+
*/
|
|
11
|
+
instanceId?: number;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Executes one step of a `SELF` flow for the signed-in user, through the authenticated
|
|
15
|
+
* transport that attaches the access token the flow identifies the user by.
|
|
16
|
+
*
|
|
17
|
+
* @param config - Configuration object with URL, payload and optional request config.
|
|
18
|
+
* @returns A promise that resolves with the flow step.
|
|
19
|
+
*/
|
|
20
|
+
declare const executeEmbeddedSelfFlow: ({ fetcher, instanceId, ...requestConfig }: ExecuteEmbeddedSelfFlowConfig) => Promise<EmbeddedSelfFlowResponse>;
|
|
21
|
+
export default executeEmbeddedSelfFlow;
|
|
22
|
+
//# sourceMappingURL=executeEmbeddedSelfFlow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executeEmbeddedSelfFlow.d.ts","sourceRoot":"","sources":["../../../src/api/auth/executeEmbeddedSelfFlow.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,wBAAwB,EAGxB,6BAA6B,IAAI,iCAAiC,EACnE,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,6BAA8B,SAAQ,IAAI,CAAC,iCAAiC,EAAE,SAAS,CAAC;IACvG;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClE;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;GAMG;AACH,QAAA,MAAM,uBAAuB,GAAU,2CAIpC,6BAA6B,KAAG,OAAO,CAAC,wBAAwB,CAI/D,CAAC;AAEL,eAAe,uBAAuB,CAAC"}
|