checkAuthentication: Checks whether the authentication is supported by the server...

Description Usage Arguments Value See Also Examples

Description

Checks whether the authentication is supported by the server and handles the different POST request routes.

Usage

1
checkAuthentication(request, auth, version.needed = 1)

Arguments

request

The needed request to be made (without .cgi).

auth

Whether authentication is requested in R.

version.needed

The minimum version of the request. If it is 1, and the server is version 1, the function will append .cgi to the request.

Value

A list:

  1. request: the request to send

  2. auth: whether to still send an authenticated request.

See Also

Other development: API.request, create.API.request.URL, prepare.server.URL, server.version

Examples

1
2
checkAuthentication("makecsv", TRUE)
checkAuthentication("registration", TRUE, 2)


Search within the Rexperigen package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.