@asgardeo/javascript 0.1.22 → 0.1.23
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/models/config.d.ts
CHANGED
|
@@ -94,7 +94,7 @@ export interface BaseConfig<T = unknown> extends WithPreferences {
|
|
|
94
94
|
* The client ID obtained from the Asgardeo application registration.
|
|
95
95
|
* This is used to identify your application during authentication.
|
|
96
96
|
*/
|
|
97
|
-
clientId
|
|
97
|
+
clientId?: string | undefined;
|
|
98
98
|
/**
|
|
99
99
|
* Optional client secret for the application.
|
|
100
100
|
* Only required when using confidential client flows.
|
|
@@ -44,9 +44,9 @@ export interface EmbeddedSignUpFlowData {
|
|
|
44
44
|
}
|
|
45
45
|
export interface EmbeddedFlowComponent {
|
|
46
46
|
components: EmbeddedFlowComponent[];
|
|
47
|
-
config: Record<string,
|
|
47
|
+
config: Record<string, unknown>;
|
|
48
48
|
id: string;
|
|
49
|
-
type: EmbeddedFlowComponentType;
|
|
49
|
+
type: EmbeddedFlowComponentType | string;
|
|
50
50
|
variant?: string;
|
|
51
51
|
}
|
|
52
52
|
export declare enum EmbeddedFlowComponentType {
|
|
@@ -25,11 +25,22 @@ export declare enum EmbeddedSignInFlowTypeV2 {
|
|
|
25
25
|
Redirection = "REDIRECTION",
|
|
26
26
|
View = "VIEW"
|
|
27
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* Extended response structure for the embedded sign-in flow V2.
|
|
30
|
+
* @remarks This response is only done from the SDK level.
|
|
31
|
+
* @experimental
|
|
32
|
+
*/
|
|
33
|
+
export interface ExtendedEmbeddedSignInFlowResponseV2 {
|
|
34
|
+
/**
|
|
35
|
+
* The URL to redirect the user after completing the sign-in flow.
|
|
36
|
+
*/
|
|
37
|
+
redirectUrl?: string;
|
|
38
|
+
}
|
|
28
39
|
/**
|
|
29
40
|
* Response structure for the new Asgardeo V2 embedded sign-in flow.
|
|
30
41
|
* @experimental
|
|
31
42
|
*/
|
|
32
|
-
export interface EmbeddedSignInFlowResponseV2 {
|
|
43
|
+
export interface EmbeddedSignInFlowResponseV2 extends ExtendedEmbeddedSignInFlowResponseV2 {
|
|
33
44
|
flowId: string;
|
|
34
45
|
flowStatus: EmbeddedSignInFlowStatusV2;
|
|
35
46
|
type: EmbeddedSignInFlowTypeV2;
|