LoginPortal.login: User login (DEPRECATED).

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/LoginPortal.r

Description

DEPRECATED. Use Authentication.login instead.

Logs the user into SciServer and returns the LoginPortal token. This function is useful when SciScript-R library methods are executed outside the SciServer-Compute environment. In this case, the session LoginPortal token does not exist (and therefore can't be automatically recognized), so the user has to use LoginPortal.login in order to log into SciServer manually and get the LoginPortal token. LoginPortal.login also sets the token value in the Sys environment variable "sciservertoken" and as the variable Authentication.token.

Usage

1
LoginPortal.login(UserName, Password)

Arguments

UserName

name of the user.

Password

password of the user.

Value

Returns the LoginPortal token (string). Throws an exception if the HTTP request to the LoginPortal URL returns an error.

Author(s)

Gerard Lemson, Manuchehr Taghizadeh-Popp <mtaghiza@jhu.edu>

References

http://www.sciserver.org
http://portal.sciserver.org/login-portal/
http://www.github.com/sciserver/SciScript-R

See Also

LoginPortal.getKeystoneUserWithToken, LoginPortal.setToken, LoginPortal.login, LoginPortal.getToken, Authentication.getKeystoneUserWithToken, Authentication.login, Authentication.getToken, Authentication.setToken, Authentication.token.

Examples

1
## Not run: LoginPortal.login("MyName","MyPassword") 

sciserver/SciScript-R documentation built on May 29, 2019, 3:45 p.m.