@asgardeo/javascript 0.1.16 → 0.1.17
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/client.d.ts
CHANGED
|
@@ -81,6 +81,16 @@ export interface AsgardeoClient<T> {
|
|
|
81
81
|
* @returns Promise resolving to boolean indicating success.
|
|
82
82
|
*/
|
|
83
83
|
initialize(config: T, storage?: Storage): Promise<boolean>;
|
|
84
|
+
/**
|
|
85
|
+
* Re-initializes the client with a new configuration.
|
|
86
|
+
*
|
|
87
|
+
* @remarks
|
|
88
|
+
* This can be partial configuration to update only specific fields.
|
|
89
|
+
*
|
|
90
|
+
* @param config - New configuration to re-initialize the client with.
|
|
91
|
+
* @returns Promise resolving to boolean indicating success.
|
|
92
|
+
*/
|
|
93
|
+
reInitialize(config: Partial<T>): Promise<boolean>;
|
|
84
94
|
/**
|
|
85
95
|
* Checks if the client is currently loading.
|
|
86
96
|
* This can be used to determine if the client is in the process of initializing or fetching user data.
|