GAppsService
Description
In BBj 11.0 and higher, the GAppsService class is one of the BBj CustomObjects that comprises the GApps utility. This class can used in a BBj application to interface with one of the Google Apps services.
Creation
The GAppsService class is found in <bbj install>/utils/gapps/gapps.bbj.
The GAppsService is a base class and cannot be directly created.
Parameters
None.
Methods of GAppsService
Return Value |
Method |
int |
|
string |
|
string |
getUser() |
string |
|
boolean |
isAuthenticated(boolean promptUser) |
void |
|
void |
setUserCredentials(string user, string password) |
void |
setUserCredentials(string user, string password) |
void |
setUserToken(string token) |
void |
setUserToken(string token, boolean remember) |
Remarks
None.
Constants
Name |
Value |
SERVICE_ERROR |
301 |
AUTH_ERROR |
302 |
Example
|