It works with oauth2_resource_app(), and any third party app,
including the fake oauth2_third_party_app().
oauth2_login(login_url)A named list with
login_response The curl HTTP response object for the login
page.
token_response The curl HTTP response object for submitting
the login page.
The login URL of the third party app.
See test-oauth.R in webfakes for an example.
Other OAuth2.0 functions:
oauth2_httr_login(),
oauth2_resource_app(),
oauth2_third_party_app()