Retrieve User Info

Retrieves user information from the authentication server.

retrieve: (params: GeneralParams) => Promise<UserInfoSetting | null>;

Parameters:

  • GeneralParams:

    • deviceId: The device unique ID.

    • loginToken: The login token for authentication.

    • spk: The Shares Protecting Key (Public and Private Key).

Returns:

A promise that resolves to a UserInfoSetting object or null if there is no userInfo.

Associated Types

KeyTypesUserInfoTypesAuthServerClientTypes

Last updated