1var policy = """2on_http_request:3 - actions:4 - type: oauth5 config:6 provider: google7""";8 9var agent = Session.withAuthtoken(authtoken).connect();10var listener = agent.listen(policy);