configure

suspend fun configure(tokenBundle: String): ParakeyError?

Validates and saves the provided token bundle. The SDK needs a valid bundle to unlock locks.

The token bundle will be persisted between app starts. Calling with a new token bundle will clear all user data and prepare a new session. Calling with an already persisted bundle will not have any effect.


Note: Can't be called before initialize.

Return

Parameters

tokenBundle

the token bundle acquired through the Parakey API integration