signOut method
- bool emitEvent = true,
Clears persisted authentication state.
When emitEvent is true, SdkEvent.signedOut is emitted after the
token store is cleared.
Implementation
Future<void> signOut({bool emitEvent = true}) async {
await authManager.clear();
if (emitEvent) events.emit(SdkEvent.signedOut);
}