oauth2_login {webfakes} | R Documentation |
Helper function to log in to a third party OAuth2.0 app without a browser
Description
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. |
Details
See test-oauth.R
in webfakes for an example.
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.
See Also
Other OAuth2.0 functions:
oauth2_httr_login()
,
oauth2_resource_app()
,
oauth2_third_party_app()
[Package webfakes version 1.3.0 Index]