716acb7dabc447ddf157ec96ad615a195b4df3d2 chinhli Fri Apr 6 15:59:16 2012 -0700 Finished hgLogin UI diff --git src/hg/inc/hgLoginLink.h src/hg/inc/hgLoginLink.h index 125d197..71b3cce 100644 --- src/hg/inc/hgLoginLink.h +++ src/hg/inc/hgLoginLink.h @@ -1,28 +1,32 @@ /* hgLoginLink - interoperate with a hgLogin site (share user identities). */ #ifndef HGLOGINLINK_H #define HGLOGINLINK_H /* hg.conf hgLogin parameters -- hgLoginLink is disabled if any are undefined. */ #define CFG_HGLOGIN_HOST "hgLogin.host" +#define CFG_HGLOGIN_SYSNAME "hgLogin.sysName" #define CFG_HGLOGIN_USER_NAME_COOKIE "hgLogin.userNameCookie" #define CFG_HGLOGIN_LOGGED_IN_COOKIE "hgLogin.loggedInCookie" #define CFG_HGLOGIN_SESSION_COOKIE "hgLogin.sessionCookie" char *hgLoginLinkHost(); /* Return the hgLogin host specified in hg.conf, or NULL. Allocd here. */ +char *hgLoginLinkSysName(); +/* Return the hgLogin system name specified in hg.conf, or NULL. Allocd here. */ + boolean hgLoginLinkEnabled(); /* Return TRUE if all hgLogin.* parameters are defined in hg.conf . */ char *hgLoginLinkUserName(); /* Return the user name specified in cookies from the browser, or NULL if * the user doesn't appear to be logged in. */ char *hgLoginLinkUserLoginUrl(int hgsid); /* Return the URL for the hgLogin user hgLogin page. */ char *hgLoginLinkUserLogoutUrl(int hgsid); /* Return the URL for the hgLogin user logout page. */ #endif /* HGLOGINLINK_H */