com.atlassian.confluence.plugins.easyuser
Interface EasyUserManager

All Known Implementing Classes:
DefaultEasyUserManager

public interface EasyUserManager

Provides methods for adding users easily.

Since:
4.2

Method Summary
 boolean canSignUpWith(String token)
          Return true if the given token is valid for a user to self-sign-up.
 String getSignUpToken()
          Gets the current sign-up token, or creates a new one and returns it.
 Boolean isEmailSentOnInviteSignUp()
           
 String refreshAndGetToken()
          Creates a new sign-up token and returns it.
 void setEmailSentOnInviteSignUp(boolean notify)
           
 

Method Detail

getSignUpToken

String getSignUpToken()
Gets the current sign-up token, or creates a new one and returns it.

Returns:
a random sign-up token

canSignUpWith

boolean canSignUpWith(String token)
Return true if the given token is valid for a user to self-sign-up.

Parameters:
token - a sign-up token from a URL given to an invited user

refreshAndGetToken

String refreshAndGetToken()
Creates a new sign-up token and returns it. This invalidates the previous token.

Returns:
a random sign-up token

isEmailSentOnInviteSignUp

Boolean isEmailSentOnInviteSignUp()
Returns:
true if notification emails should be sent to admins when a user signs themselves up.

setEmailSentOnInviteSignUp

void setEmailSentOnInviteSignUp(boolean notify)
Parameters:
notify - true if notification emails should be sent to admins when a user signs themselves up, false if not


Copyright © 2003-2012 Atlassian. All Rights Reserved.