ff523431c32a70a2c9f278694db20a299d01f206 kent Sat Feb 28 11:21:02 2015 -0800 A little refactoring so can reuse login system for CIRM. diff --git src/hg/inc/wikiLink.h src/hg/inc/wikiLink.h index 1bfad6c..8dbe1aa 100644 --- src/hg/inc/wikiLink.h +++ src/hg/inc/wikiLink.h @@ -22,25 +22,31 @@ /* Return TRUE if login.systemName parameter is defined in hg.conf . */ char *wikiLinkHost(); /* Return the wiki host specified in hg.conf, or NULL. Allocd here. */ boolean wikiLinkEnabled(); /* Return TRUE if all wiki.* parameters are defined in hg.conf . */ char *wikiLinkUserName(); /* Return the user name specified in cookies from the browser, or NULL if * the user doesn't appear to be logged in. */ char *wikiLinkUserLoginUrl(char *hgsid); /* Return the URL for the wiki user login page. */ +char *wikiLinkUserLoginUrlReturning(char *hgsid, char *returnUrl); +/* Return the URL for the wiki user login page. */ + char *wikiLinkUserLogoutUrl(char *hgsid); /* Return the URL for the wiki user logout page. */ +char *wikiLinkUserLogoutUrlReturning(char *hgsid, char *returnUrl); +/* Return the URL for the wiki user logout page. */ + char *wikiLinkUserSignupUrl(char *hgsid); /* Return the URL for the user signup page. */ char *wikiLinkChangePasswordUrl(char *hgsid); /* Return the URL for the user change password page. */ #endif /* WIKILINK_H */