Interface UserCreationResponse

All Known Implementing Classes:
ImmutableUserCreationResponse

public interface UserCreationResponse
User Creation Response.
Author:
Nick Kasprzak
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether or not the username was created.
    Error returned when creating user, if any.
    The username of the user that was requested to create.
  • Method Details

    • username

      String username()
      The username of the user that was requested to create.
      Returns:
      String username
    • created

      boolean created()
      Whether or not the username was created.
      Returns:
      whether username was created
    • error

      Optional<String> error()
      Error returned when creating user, if any.
      Returns:
      Optional of String error