public class UserRegistration extends Object
Constructor and Description |
---|
UserRegistration() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Map<String,Object> |
getAttributes()
Client implementations may choose to utilize this field to accept and pass additional custom
information as part of the user registration process.
|
String |
getClientId()
The application's client_id that this user is registering to
|
String |
getEmail()
Email address
|
String |
getFullName()
Full name of the user
|
String |
getPassword() |
String |
getPasswordConfirmation()
Must match the given
password |
Boolean |
getPreview()
True if this registration is in a preview context
|
String |
getReturnTo()
The location to which the user is forwarded after registration
|
String |
getUsername()
Username
|
String |
getUserType()
The type of user to register this user as.
|
int |
hashCode() |
void |
setAttributes(Map<String,Object> attributes)
Client implementations may choose to utilize this field to accept and pass additional custom
information as part of the user registration process.
|
void |
setClientId(String clientId)
The application's client_id that this user is registering to
|
void |
setEmail(String email)
Email address
|
void |
setFullName(String fullName)
Full name of the user
|
void |
setPassword(String password) |
void |
setPasswordConfirmation(String passwordConfirmation)
Must match the given
password |
void |
setPreview(Boolean preview)
True if this registration is in a preview context
|
void |
setReturnTo(String returnTo)
The location to which the user is forwarded after registration
|
void |
setUsername(String username)
Username
|
void |
setUserType(String userType)
The type of user to register this user as.
|
String |
toString() |
public String getUserType()
UserType
public String getFullName()
public String getUsername()
Only used when AuthRegistrationProperties.isEmailAsUsername()
is disabled
public String getEmail()
public String getPassword()
PasswordRequestValidator
public String getPasswordConfirmation()
password
PasswordRequestValidator
public String getClientId()
public String getReturnTo()
public Boolean getPreview()
public Map<String,Object> getAttributes()
UserCreationEvent.attributes
.UserCreationEvent.attributes
public void setUserType(String userType)
UserType
public void setFullName(String fullName)
public void setUsername(String username)
Only used when AuthRegistrationProperties.isEmailAsUsername()
is disabled
public void setEmail(String email)
public void setPassword(String password)
PasswordRequestValidator
public void setPasswordConfirmation(String passwordConfirmation)
password
PasswordRequestValidator
public void setClientId(String clientId)
public void setReturnTo(String returnTo)
public void setPreview(Boolean preview)
public void setAttributes(Map<String,Object> attributes)
UserCreationEvent.attributes
.UserCreationEvent.attributes
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.