Class MfaTempTokenResponse

java.lang.Object
de.xima.fc.api.rest.pub.client.security.model.MfaTempTokenResponse
All Implemented Interfaces:
Serializable

@Generated("de.xima.openapi.codegen.java_jaxrs.XimaJavaJaxrsGenerator") public class MfaTempTokenResponse extends Object implements Serializable
Model representing a response indicating that two-factor authentication is required.
See Also:
  • Field Details

  • Constructor Details

    • MfaTempTokenResponse

      public MfaTempTokenResponse()
      Creates a new empty model with no data yet. Use the various setters or fluent setters to add the appropriate data.
  • Method Details

    • expiresIn

      public MfaTempTokenResponse expiresIn(Long expiresIn)
      Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
    • getExpiresIn

      @Nullable public Long getExpiresIn()
      The time in seconds until the temporary token expires.
      Returns:
      expiresIn
    • setExpiresIn

      public void setExpiresIn(Long expiresIn)
    • message

      public MfaTempTokenResponse message(String message)
      Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
    • getMessage

      @Nullable public String getMessage()
      Message to be displayed to the user, e.g., instructions for two-factor authentication.
      Returns:
      message
    • setMessage

      public void setMessage(String message)
    • mfaType

      public MfaTempTokenResponse mfaType(String mfaType)
      Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
    • getMfaType

      @Nullable public String getMfaType()
      The type of multi-factor authentication required.
      Returns:
      mfaType
    • setMfaType

      public void setMfaType(String mfaType)
    • tempToken

      public MfaTempTokenResponse tempToken(String tempToken)
      Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
    • getTempToken

      @Nullable public String getTempToken()
      Temporary token to be used for two-factor authentication.
      Returns:
      tempToken
    • setTempToken

      public void setTempToken(String tempToken)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object