end_session.Rd
Ends the session for an certain token.
end_session(
session,
token = session$unToken,
curl_handle = session$curl,
api_baseurl = session$base_url,
end_point = "/api/auth/logout",
api_url = paste0(api_baseurl, end_point),
...
)
a list object created via create_session()
character, a session token,
a curl handle created by
getCurlHandle()
. If one is not provided, it will be
created. Please note, it is best practice to establish a curl
handle when interacting with an API
character, the base URL for the database server
character, the API end point for the login
character, the URL for the database server login
additional arguments passed to RCurl::getURL()