From 1f52c8b5f123b97fc631465479bc2855c12b9ee3 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Tue, 02 Oct 2012 17:23:16 -0400 Subject: [PATCH] Moved the fork mechanism from a javascript link to a separate page --- src/com/gitblit/IUserService.java | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/src/com/gitblit/IUserService.java b/src/com/gitblit/IUserService.java index 334bbed..8822d02 100644 --- a/src/com/gitblit/IUserService.java +++ b/src/com/gitblit/IUserService.java @@ -46,6 +46,22 @@ * @since 1.0.0 */ boolean supportsCredentialChanges(); + + /** + * Does the user service support changes to user display name? + * + * @return true or false + * @since 1.0.0 + */ + boolean supportsDisplayNameChanges(); + + /** + * Does the user service support changes to user email address? + * + * @return true or false + * @since 1.0.0 + */ + boolean supportsEmailAddressChanges(); /** * Does the user service support changes to team memberships? @@ -68,7 +84,7 @@ * @param model * @return cookie value */ - char[] getCookie(UserModel model); + String getCookie(UserModel model); /** * Authenticate a user based on their cookie. @@ -88,6 +104,13 @@ UserModel authenticate(String username, char[] password); /** + * Logout a user. + * + * @param user + */ + void logout(UserModel user); + + /** * Retrieve the user object for the specified username. * * @param username -- Gitblit v1.9.1