AuthController<K extends SessionStatusInfo?> constructor
AuthController<K extends SessionStatusInfo?> (
- RenovationConfig config, {
- K? sessionStatusInfo,
Listen to changes in sessionStatus and log them in console
Implementation
AuthController(RenovationConfig config, {K? sessionStatusInfo})
: super(config) {
sessionStatus.stream.where((session) => session != null).listen((session) {
config.logger.i('Session Updated');
config.logger.v(session!.toJson());
});
}