View source: R/motusAuthenticateUser.R
motusAuthenticateUser | R Documentation |
authenticate a user with motus.org
motusAuthenticateUser(username, password)
username |
motus user name |
password |
motus password (plaintext) |
if the credentials are valid, a list with these items:
token character scalar token used in subsequent API calls
expiry numeric timestamp at which token
expires
userID integer user ID of user at motus
projects list of projects user has access to; indexed by integer projectID, values are project names
receivers FIXME: will be list of receivers user has access to
Otherwise, generate an error.
This function uses the global AuthDB
, defined in serverCommon
John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.