authenticate_user: Authenticate a user using the Egnyte Filesystem API

View source: R/authenticate_user.R

authenticate_userR Documentation

Authenticate a user using the Egnyte Filesystem API

Description

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.

Usage

authenticate_user(domain, app_key, username, password)

Arguments

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

Details

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.


joshmuncke/egnyter documentation built on April 18, 2023, 4:09 p.m.