Skip to content

Commit dec3d26

Browse files
committed
ssok_token_flow
1 parent 3bba875 commit dec3d26

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/modules/auth.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ export function createAuthModule(
2020
async me() {
2121
return axios.get(`/apps/${appId}/entities/User/me`);
2222
},
23+
/**
24+
* Get current user information
25+
* @returns {Promise<Object>} Current user data
26+
*/
27+
async getSsoAccessToken() {
28+
return axios.get(`/apps/${appId}/auth/sso/accesstoken`);
29+
},
2330

2431
/**
2532
* Update current user data

0 commit comments

Comments
 (0)