labguru_authenticate | R Documentation |
This function authenticates a user by email and password and returns a token and sets the system variable LABGURU_TOKEN to that token by default.
labguru_authenticate( email, password, server = "https://my.labguru.com", set_sys = TRUE )
email |
character(1) email address |
password |
character(1) password |
server |
character(1) Server URL, "https://jonathan.labguru.com" by default |
set_sys |
logical(1) Set server and token as system variables LABGURU_SERVER and LABGURU_TOKEN |
acces token (string)
## Not run: labguru_authenticate(email = "my@email.com", password = "mypassword", server = "https://my.labguru.com") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.