@asgardeo/javascript 0.1.5 → 0.1.6
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
|
@@ -150,4 +150,10 @@ export interface AsgardeoClient<T> {
|
|
|
150
150
|
* @returns A promise that resolves to an EmbeddedFlowExecuteResponse containing the flow execution details.
|
|
151
151
|
*/
|
|
152
152
|
signUp(payload: EmbeddedFlowExecuteRequestPayload): Promise<EmbeddedFlowExecuteResponse>;
|
|
153
|
+
/**
|
|
154
|
+
* Retrieves the access token for the current session.
|
|
155
|
+
* @param sessionId - Optional session ID to retrieve the access token for a specific session.
|
|
156
|
+
* @returns A promise that resolves to the access token string.
|
|
157
|
+
*/
|
|
158
|
+
getAccessToken(sessionId?: string): Promise<string>;
|
|
153
159
|
}
|