Package com.io7m.idstore.user_client.api
Interface IdUClientUsersType
- All Known Subinterfaces:
IdUClientProtocolHandlerType,IdUClientType
- All Known Implementing Classes:
IdUClient,IdUClientProtocolHandler1,IdUClientProtocolHandlerAbstract,IdUClientProtocolHandlerDisconnected
public interface IdUClientUsersType
Commands related to users.
-
Method Summary
Modifier and TypeMethodDescriptionvoiduserEmailAddBegin(IdEmail email) Start adding the given email address to the current user.voiduserEmailAddDeny(IdToken token) Reject a challenge that adds an email address to the given user.voiduserEmailAddPermit(IdToken token) Complete a challenge that adds an email address to the given user.voiduserEmailRemoveBegin(IdEmail email) Start removing the given email address to the current user.voiduserEmailRemoveDeny(IdToken token) Reject a challenge that removes an email address to the given user.voiduserEmailRemovePermit(IdToken token) Complete a challenge that removes an email address to the given user.voiduserPasswordUpdate(String password, String passwordConfirm) Update the user's password.voiduserRealNameUpdate(IdRealName realName) Update the user's realname.userSelf()Retrieve the current user profile.
-
Method Details
-
userSelf
Retrieve the current user profile.- Returns:
- The current user
- Throws:
IdUClientException- On errorsInterruptedException- On interruption
-
userEmailAddBegin
Start adding the given email address to the current user.- Parameters:
email- The email address- Throws:
IdUClientException- On errorsInterruptedException- On interruption
-
userEmailAddPermit
Complete a challenge that adds an email address to the given user.- Parameters:
token- The challenge token- Throws:
IdUClientException- On errorsInterruptedException- On interruption
-
userEmailAddDeny
Reject a challenge that adds an email address to the given user.- Parameters:
token- The challenge token- Throws:
IdUClientException- On errorsInterruptedException- On interruption
-
userEmailRemoveBegin
Start removing the given email address to the current user.- Parameters:
email- The email address- Throws:
IdUClientException- On errorsInterruptedException- On interruption
-
userEmailRemovePermit
Complete a challenge that removes an email address to the given user.- Parameters:
token- The challenge token- Throws:
IdUClientException- On errorsInterruptedException- On interruption
-
userEmailRemoveDeny
Reject a challenge that removes an email address to the given user.- Parameters:
token- The challenge token- Throws:
IdUClientException- On errorsInterruptedException- On interruption
-
userRealNameUpdate
Update the user's realname.- Parameters:
realName- The new realname- Throws:
IdUClientException- On errorsInterruptedException- On interruption
-
userPasswordUpdate
void userPasswordUpdate(String password, String passwordConfirm) throws IdUClientException, InterruptedException Update the user's password.- Parameters:
password- The passwordpasswordConfirm- The password confirmation- Throws:
IdUClientException- On errorsInterruptedException- On interruption
-