Skip to contents

It works with oauth2_resource_app(), and any third party app, including the fake oauth2_third_party_app().

Usage

oauth2_login(login_url)

Arguments

login_url

The login URL of the third party app.

Value

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.

Details

See test-oauth.R in webfakes for an example.

See also