View source: R/authenticate_user.R
authenticate_user | R Documentation |
This function authenticates a user for use of an Egnyte Filesystem API application. In order for this function to work you (or an admin) must first create a new API key for your application via the Egnyte for Developers site.
authenticate_user(domain, app_key, username, password)
domain |
the URL of your Egnyte domain |
app_key |
API key of your Egnyte application |
app_secret |
API secret key of your Egnyte application |
username |
user's Egnyte username |
password |
user's Egnyte password |
Use this function to authenticate a specific user for your Egnyter API application.
This function will return the authorisation token that is required for the Egnyter upload_*
and download_*
functions to operate.
You can run this function directly every time your require an authorisation token or use set_token
to save
the token to your options.
If your Egnyte username or password changes you will need to re-authenticate yourself and get a new token to continue using Egnyter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.