Skip to content

getFactorToken

fun getFactorToken(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

sessionIdSession ID given by SSKS to your app's server.
authFactorAuthentication method of this user, to which SSKS has sent a challenge at the request of your app's server.
challengeOptional. The challenge sent by SSKS to the user's authentication method, if any.

Throws

SealdException