public class RegisterTokenResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RegisterTokenResult.ResultState
State of the Result
|
Constructor and Description |
---|
RegisterTokenResult(String userId,
RegisterTokenResult.ResultState state,
char[] initialPassword) |
Modifier and Type | Method and Description |
---|---|
char[] |
getInitialPassword()
Gets initial password as array of char, if new password is generated.
|
RegisterTokenResult.ResultState |
getState()
Gets state of the Result.
|
String |
getUserId()
Gets Id of the User.
|
void |
setInitialPassword(char[] initialPassword)
Sets initial password as array of char, if new password is generated.
|
void |
setState(RegisterTokenResult.ResultState state)
Sets state of the Result.
|
void |
setUserId(String userId)
Sets Id of the User.
|
public RegisterTokenResult(String userId, RegisterTokenResult.ResultState state, char[] initialPassword)
userId
- Id of the Userstate
- state of the Result.initialPassword
- Initial password as array of charpublic String getUserId()
public void setUserId(String userId)
userId
- Id of the User.public RegisterTokenResult.ResultState getState()
public void setState(RegisterTokenResult.ResultState state)
state
- state of the Result.public char[] getInitialPassword()
public void setInitialPassword(char[] initialPassword)
initialPassword
- Copyright © 2022 KOBIL Systems GmbH. All rights reserved.