View source: R/plumber-shared.R
build_token | R Documentation |
Function that takes creates a signature for the values
using a secret.
build_token(values, secret = NULL)
values |
R object that is going to be signed |
secret |
string that contains the shared secret to sign the communication. It can be NULL on both telemetry and in plumber API to disable this communication feature |
This is used in shiny.telemetry, but also externally with the Plumber endpoint.
A string that contains an hash to uniquely identify the parameters.
build_token(values = list(list(1, 2, 3), 2, 2, 3, "bb"))
build_token(values = list(list(1, 2, 3), 1, 2, 3, "bb"))
build_token(values = list(list(1, 2, 3), 1, 2, 3, "bb"), secret = "abc")
build_token(values = list(list(1, 2, 3), 1, 2, 3, "bb"), secret = "abd")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.