checkAuthentication {Rexperigen} | R Documentation |
Checks whether the authentication is supported by the server and handles the different POST request routes.
Description
Checks whether the authentication is supported by the server and handles the different POST request routes.
Usage
checkAuthentication(request, auth, version.needed = 1)
Arguments
request |
The needed request to be made (without |
auth |
Whether authentication is requested in R. |
version.needed |
The minimum version of the request. If it is
|
Value
A list:
-
request
: the request to send -
auth
: whether to still send an authenticated request.
See Also
Other development: API.request
,
create.API.request.URL
,
prepare.server.URL
,
server.version
Examples
checkAuthentication("makecsv", TRUE)
checkAuthentication("registration", TRUE, 2)
[Package Rexperigen version 0.2.1 Index]