Authentication.getKeystoneUserWithToken {SciServer} | R Documentation |
Returns the name/id for the user corresponding to the specified token.
Authentication.getKeystoneUserWithToken(token)
token |
Sciserver's authentication token for the user |
Returns a list with name/id of the user. Throws an exception if the HTTP request to the Authentication URL returns an error.
Gerard Lemson, Manuchehr Taghizadeh-Popp
Maintainer: Manuchehr Taghizadeh-Popp <mtaghiza@jhu.edu>
http://www.sciserver.org
http://portal.sciserver.org/login-portal/
http://www.github.com/sciserver/SciScript-R
Authentication.getToken
, Authentication.login
, Authentication.setToken
.
## Not run: user = Authentication.getKeystoneUserWithToken(Authentication.getToken())