logout method
Logout user from Microsoft account.
Implementation
@override
Future<void> logout() async {
_log('MSAL logout called');
await _ErrorHandler.guard(
methodChannel,
() async {
if (Platform.isAndroid) {
await methodChannel.invokeMethod('loadAccounts');
}
await methodChannel.invokeMethod('logout', <String, dynamic>{});
},
);
}