configure
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
InvalidCredentials if tokenBundle is malformed
InvalidTokenBundle if unauthorized
ConfigureFailure if any other error (such as lack of network)
null
if no error
Parameters
token Bundle
the token bundle acquired through the Parakey API integration