Future<void> authenticate(Map<String, String> metadata, String uri) async { var idToken = await auth.tokenProvider.idToken; metadata['authorization'] = 'Bearer $idToken'; }