Class UserRegistration


  • public class UserRegistration
    extends Object
    Representation of a registration from the frontend
    Author:
    Phillip Verheyden (phillipuniverse)
    • Constructor Detail

      • UserRegistration

        public UserRegistration()
    • Method Detail

      • getUserType

        public String getUserType()
        The type of user to register this user as.
        See Also:
        UserType
      • getFullName

        public String getFullName()
        Full name of the user
      • getEmail

        public String getEmail()
        Email address
      • getClientId

        public String getClientId()
        The application's client_id that this user is registering to
      • getReturnTo

        public String getReturnTo()
        The location to which the user is forwarded after registration
      • getPreview

        public Boolean getPreview()
        True if this registration is in a preview context
      • getAttributes

        public 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. By default, these attributes are passed to other interested microservices via UserCreationEvent.attributes.
        See Also:
        UserCreationEvent.attributes
      • setUserType

        public void setUserType​(String userType)
        The type of user to register this user as.
        See Also:
        UserType
      • setFullName

        public void setFullName​(String fullName)
        Full name of the user
      • setEmail

        public void setEmail​(String email)
        Email address
      • setClientId

        public void setClientId​(String clientId)
        The application's client_id that this user is registering to
      • setReturnTo

        public void setReturnTo​(String returnTo)
        The location to which the user is forwarded after registration
      • setPreview

        public void setPreview​(Boolean preview)
        True if this registration is in a preview context
      • setAttributes

        public 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. By default, these attributes are passed to other interested microservices via UserCreationEvent.attributes.
        See Also:
        UserCreationEvent.attributes
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object