getToken: retrieves a user identifier for connexion to the web service

Description Usage Arguments Value Examples

View source: R/getToken.R

Description

Retrieves a user identifier for connexion to the WebService (WS)

Usage

1
getToken(login, password)

Arguments

login

login of the user to create the token

password

password of the user to create the token

Value

a session token user identifier in the WS

Examples

1
2
3
4
connectToOpenSILEXWS("guestphis@supagro.inra.fr","guestphis",
         "http://147.100.179.156:8080/phenomeapi/resources/")
aToken <- getToken("guestphis@supagro.inra.fr","guestphis")
aToken$data

niio972/opensilex-ws-client-r documentation built on Nov. 4, 2019, 10:06 p.m.