Resetting the SDK state
Introduction
Resetting the SDK state implies the removal of cached data from memory. Access tokens will be removed and the user will be logged out. It won't, however delete the refresh token nor will it remove any saved data. The SDK will be in the similar state as after application restart.
In case of failure a OneginiResetError
will be returned, to read more about errors and how to handle them please read the Error handling chapter.