Authentication.getKeystoneUserWithToken: Get user info.

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

View source: R/Authentication.r

Description

Returns the name/id for the user corresponding to the specified token.

Usage

1

Arguments

token

Sciserver's authentication token for the user

Value

Returns a list with name/id of the user. Throws an exception if the HTTP request to the Authentication URL returns an error.

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.getToken, Authentication.login, Authentication.setToken.

Examples

1
## Not run: user = Authentication.getKeystoneUserWithToken(Authentication.getToken())

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