auth: Login to or logout from an ArchiveSpace API

Description Usage Arguments Details Examples

Description

Login to or logout from an ArchiveSpace API

Usage

1
2
3
asp_login(user = NULL, pwd = NULL, ...)

asp_logout(...)

Arguments

user

(character) username, required

pwd

(character) password, required

...

Curl options passed on to GET or POST

Details

retrieves a session ID, expires in 1 hr. the session ID is cached during your R session, and is gone once you restart the session - thus, you'll have to login again if you restart your R session

Examples

1
2
3
4
5
## Not run: 
# asp_login()
# asp_logout()

## End(Not run)

ropenscilabs/aspacer documentation built on Jan. 29, 2018, 10:45 a.m.