acquireTokenSilent method
Acquire a token silently, with no user interaction, for the given scopes
Implementation
Future<String> acquireTokenSilent(List<String> scopes) async {
//create the arguments
var res = <String, dynamic>{'scopes': scopes};
//call platform
try {
final String token =
await _channel.invokeMethod('acquireTokenSilent', res);
return token;
} on PlatformException catch (e) {
throw _convertException(e);
} catch (e) {
print(e);
rethrow;
}
}