LoginPortal.getToken: Get user token (DEPRECATED).

Description Usage Value Author(s) References See Also Examples

View source: R/LoginPortal.r

Description

DEPRECATED. Use Authentication.getToken instead.

Returns the SciServer LoginPortal token of the user. First, will try to return the variable Authentication.token. If it is not set, LoginPortal.getToken will try to return the "sciservertoken" environmental variable. If this variable does not exist, will try to return the token stored in Config.KeystoneTokenFilePath. Will return a NULL if all previous steps fail.

Usage

1

Value

Returns SciServer's LoginPortal token (string).

Author(s)

Gerard Lemson, Manuchehr Taghizadeh-Popp
Maintainer: 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: token = LoginPortal.getToken()

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