Skip to content

getFactorToken

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

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.
challengeThe 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