Skip to content

Commit 8cea0ef

Browse files
authored
add getCustomerId to the interface (#19)
* add getCustomerId to the interface
1 parent a24467f commit 8cea0ef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ps-web-apis.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ export interface WhoamiV1 {
8383
* @return {WhoamiUserInfo} some relevant userdata
8484
*/
8585
getUserInfo(): Promise<WhoamiUserInfo>;
86+
/**
87+
* will request customer pseudo id for currently logged user from consent backend
88+
* @param clientId The string identifier of the client for which the customer id is requested.
89+
*/
90+
getCustomerId(clientId: string): Promise<string>;
8691
}
8792

8893
export function whoamiV1(): Promise<WhoamiV1> {

0 commit comments

Comments
 (0)