## Not run:
# synapseLogin("user.name@sagebase.org", "foo", mode="hmac")
# key <- hmacSecretKey()
# synapseLogout()
# setApiCredentials("user.name@sagebase.org", key)
# # you may now make authenticated requests to Synapse
# ## End(Not run)
Run the code above in your browser using DataLab