Home > @poq/sdk > IAccountClient > createRefreshToken
Method creates refresh token for provided user credentials.
Signature:
createRefreshToken(appIdentifier: string, payload: CreateRefreshTokenRequest): Promise<PoqResponse<CreateRefreshTokenResponse>>;
Parameter | Type | Description |
---|---|---|
appIdentifier | string | The unique guid v4 app identifier. |
payload | CreateRefreshTokenRequest | The credentials of some specific user. |
Returns:
Promise<PoqResponse<CreateRefreshTokenResponse>>
Refresh token that can be used to decrypt user password.