Description Usage Arguments Value Author(s) References See Also Examples
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
.
1 | LoginPortal.login(UserName, Password)
|
UserName |
name of the user. |
Password |
password of the user. |
Returns the LoginPortal token (string). Throws an exception if the HTTP request to the LoginPortal URL returns an error.
Gerard Lemson, Manuchehr Taghizadeh-Popp <mtaghiza@jhu.edu>
http://www.sciserver.org
http://portal.sciserver.org/login-portal/
http://www.github.com/sciserver/SciScript-R
LoginPortal.getKeystoneUserWithToken
, LoginPortal.setToken
, LoginPortal.login
, LoginPortal.getToken
, Authentication.getKeystoneUserWithToken
, Authentication.login
, Authentication.getToken
, Authentication.setToken
, Authentication.token
.
1 | ## Not run: LoginPortal.login("MyName","MyPassword")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.