Poq.SDK.Node

Home > @poq/sdk > IAccountClient > createRefreshToken

IAccountClient.createRefreshToken() method

Method creates refresh token for provided user credentials.

Signature:

createRefreshToken(appIdentifier: string, payload: CreateRefreshTokenRequest): Promise<PoqResponse<CreateRefreshTokenResponse>>;

Parameters

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.