getNextSynchronousAuthToken

public abstract String getNextSynchronousAuthToken(String userId)

Retrieve synchronous JWT authentication token. If successful, this call increments synchronous authentication counter.

Return

Returns the JWT for synchronous authentication, for the provided user id.

Parameters

userId

the Futurae account's user id.

Throws

if the SDK is locked

if the SDK cannot find the user account for the provided user-id.

if the SDK cannot access necessary cryptographic material or perform cryptographic operations