@asgardeo/javascript 0.8.3 → 0.9.1
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/StorageManager.d.ts +2 -2
- package/dist/__legacy__/models/client-config.d.ts +12 -0
- package/dist/cjs/index.js +105 -74
- package/dist/cjs/index.js.map +2 -2
- package/dist/index.js +105 -74
- package/dist/index.js.map +2 -2
- package/dist/models/config.d.ts +17 -0
- package/dist/models/v2/embedded-flow-v2.d.ts +2 -2
- package/package.json +1 -1
package/dist/models/config.d.ts
CHANGED
|
@@ -116,6 +116,23 @@ export interface BaseConfig<T = unknown> extends WithPreferences {
|
|
|
116
116
|
* Use this when you need multiple authentication contexts in the same application.
|
|
117
117
|
*/
|
|
118
118
|
instanceId?: number;
|
|
119
|
+
/**
|
|
120
|
+
* Configuration for chaining authentication across multiple organization contexts.
|
|
121
|
+
* Used when you need to authenticate a user in one organization using credentials
|
|
122
|
+
* from another organization context.
|
|
123
|
+
*/
|
|
124
|
+
organizationChain?: {
|
|
125
|
+
/**
|
|
126
|
+
* Instance ID of the source organization context to retrieve access token from for organization token exchange.
|
|
127
|
+
* Used in linked organization scenarios to automatically fetch the source organization's access token.
|
|
128
|
+
*/
|
|
129
|
+
sourceInstanceId?: number;
|
|
130
|
+
/**
|
|
131
|
+
* Organization ID for the target organization.
|
|
132
|
+
* When provided with sourceInstanceId, triggers automatic organization token exchange.
|
|
133
|
+
*/
|
|
134
|
+
targetOrganizationId?: string;
|
|
135
|
+
};
|
|
119
136
|
/**
|
|
120
137
|
* Optional organization handle for the Organization in Asgardeo.
|
|
121
138
|
* This is used to identify the organization in the Asgardeo identity server in cases like Branding, etc.
|
|
@@ -77,12 +77,12 @@ export declare enum EmbeddedFlowActionVariant {
|
|
|
77
77
|
Info = "INFO",
|
|
78
78
|
/** Link-styled action button */
|
|
79
79
|
Link = "LINK",
|
|
80
|
+
/** Outlined action button for secondary emphasis */
|
|
81
|
+
Outlined = "OUTLINED",
|
|
80
82
|
/** Primary action button with highest visual emphasis */
|
|
81
83
|
Primary = "PRIMARY",
|
|
82
84
|
/** Secondary action button with moderate visual emphasis */
|
|
83
85
|
Secondary = "SECONDARY",
|
|
84
|
-
/** Social media action button (e.g., Google, Facebook) */
|
|
85
|
-
Social = "SOCIAL",
|
|
86
86
|
/** Success action button for positive confirmations */
|
|
87
87
|
Success = "SUCCESS",
|
|
88
88
|
/** Tertiary action button with minimal visual emphasis */
|