| UserSession-class {CytobankAPI} | R Documentation |
S4 Cytobank UserSession Class
Description
A Cytobank UserSession object that holds pertinent user information, used to make calls to various Cytobank endpoints. This class should never be called explicitly. If a user would like to create a new Cytobank UserSession object, utilize the authenticate function.
Value
A Cytobank UserSession object
Slots
auth_tokencharacter representing Cytobank user's authentication token (expires in 8 hours)
long_timeoutnumeric representing long request timeout times
short_timeoutnumeric representing short request timeout times
sitecharacter representing Cytobank user's site
user_idinteger representing a Cytobank user's ID
Examples
cytobank_user <- new("UserSession", auth_token="my_auth_token", site="premium")
[Package CytobankAPI version 2.2.1 Index]