trac_login: Get the Trac login cookie

Description Usage Arguments Details Value See Also Examples

Description

Get the Trac login cookie

Usage

1
2
trac_login(path, usr = getenv("TRAC_USER"), psw = getenv("TRAC_PSW"),
  auth_type = "basic", ...)

Arguments

path

path part of URL, passed to modify_url

usr, psw, auth_type

user name, password and authentication type, passed to authenticate

...

other arguments passed to trac_api

Details

Get the login cookie invisibly. Package httr preserves cookies across requests to the same website, so they will be used automatically.

Value

The response, as returned by GET, invisibly.

See Also

Other Trac accessors: api_url, get_trac_milestones, get_trac_tickets, trac_api

Examples

1
2
3
4
## Not run: 
trac_login("login")

## End(Not run)

mbojan/trac2gh documentation built on May 22, 2019, 12:56 p.m.