It is use to Log-in and obtained a valid token tthat then should be used in all requests to the API.
acyrsa_login(user, pass, env)
user | String. Mandatory User Name |
---|---|
pass | String. Mandatory Password |
env | String. Mandatory Wich environment are you going to connect:
|
Creates an 'acyRsaConnection' S4 Object with a token and a base_url.
The token is valid only for a day.
You can use accesors to get information about the Object by using:
login_date_time(conn)
if (FALSE) { conn <- acyrsa_login(user = "asd", pass = "xxx", env = "api") }