UserServiceUtil
class UserServiceUtil (View source)
Constants
HTTP_X_APPENGINE |
|
Methods
static The
getUserEnvironmentVariable(string $var_name)
Retrieve an environment variable specifically for the UserService.
Details
at line 39
static The
getUserEnvironmentVariable(string $var_name)
Retrieve an environment variable specifically for the UserService.
Under managed VMs, the UserService environment variables are sent as HTTP headers with the prefix 'HTTP_X_APPENGINE_'. This function first checks if the environment variable is set, and if not checks if it is set with the prefix string.