R/oh.auth_token.R

Defines functions oh.auth_token

oh.auth_token <- function(user, password, ...){
	#when using oh.login, argument 'serverurl' is part of the ... ellipse
	xhr <- oh.call("/user/auth_token", user=user, password=password, ...);
	message("Login successful!");
	return(xhr$token);
}
jeroenooms/Ohmage documentation built on May 19, 2019, 6:11 a.m.