Authentication.getToken: Get user token.

Description Usage Value Author(s) References See Also Examples

View source: R/Authentication.r

Description

Returns the SciServer authentication token of the user. First, will try to return the variable Authentication.token. If it is not set, Authentication.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 authentication 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

Authentication.getKeystoneUserWithToken, Authentication.login, Authentication.setToken, Authentication.token.

Examples

1
## Not run: token = Authentication.getToken()

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