getFactorTokenAsync
suspend fun getFactorTokenAsync(sessionId: String, authFactor: AuthFactor, challenge: String? = null): 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 | Optional. The challenge sent by SSKS to the user's authentication method, if any. |
Throws
SealdException |