getFactorTokenAsync
suspend fun getFactorTokenAsync(sessionId: String, authFactor: AuthFactor, challenge: String = ""): GetFactorTokenResponse
Retrieve the TMR JWT associated with an authentication factor.
Return
An GetFactorTokenResponse instance, containing the retrieved authentication factor token.
Parameters
sessionId | Session ID given by SSKS to your app's server. |
authFactor | Authentication method of this user, to which SSKS has sent a challenge at the request of your app's server. |
challenge | The challenge sent by SSKS to the user's authentication method if any. Set to empty string if you already have an authenticated session. |
Throws
SealdException |