chunkedgraph_token | R Documentation |
chunkedgraph_token
returns the current chunked graph
token, optionally for a specified URL / domain name.
Writes a token to a standard location on disk so that it will be found by the cloudvolume python package as well as the fafbseg package and used to authenticate to https://flywire.ai.
chunkedgraph_token(url = NULL, cached = TRUE)
flywire_set_token(token = NULL, domain = NULL)
url |
A URL or domain name which defines the scope of the token |
cached |
Whether to use a cached version of the token (default yes for speed, but set to FALSE to reload after writing a new token to disk). |
token |
Optional character vector containing your token. If missing, a new token will be requested (note that this will invalidate your previous token) |
domain |
Optional fully qualified domain name, which will be prepended to the filename in which the token will be stored. |
Since cloudvolume 3.10.0 April 2021, the recommended token filenames look like
'cave-secret.json'
'cave-secret.json'
character vector containing the token (typically 32-44 bytes)
The path to the file storing the token (invisibly)
## Not run:
# Will open browser to get new token
flywire_set_token()
# Writes a known token to correct location
flywire_set_token("2f88e16c4f21bfcb290b2a8288c05bd0")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.