Home > @poq/sdk > IAccountClient
IAccountClient can be helpful in cases when user wants to create refresh token, exchange password on refresh token or return user-specific content blocks.
Signature:
export interface IAccountClient
| Method | Description |
|---|---|
| createRefreshToken(appIdentifier, payload) | Method creates refresh token for provided user credentials. |
| decryptPassword(appIdentifier, payload) | Method decrypts user’s password. |
| getMyAccountContentBlocks(appId, platform) | Method helps to retrieve personal content blocks. |