make_credentials | R Documentation |
Attempts to create DECAF API client credentials from given arguments.
make_credentials( username = NULL, password = NULL, apikey = NULL, apisecret = NULL, token = NULL, header = NULL )
username |
Username of "Basic Authentication" method. |
password |
Password of "Basic Authentication" method. |
apikey |
API key of "API Key" method. |
apisecret |
API secret of "API Key" method. |
token |
Token value of "API Token" method. |
header |
Authorization header value to be used as is. |
An instance of 'decaf.client.credentials' S3 class with type
attribute set to one of BASIC
, APIKEY
, TOKEN
or HEADER
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.