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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreates a new model with the given enum and no other data.The time in seconds until the temporary token expires.Message to be displayed to the user, e.g., instructions for two-factor authentication.The type of multi-factor authentication required.Temporary token to be used for two-factor authentication.inthashCode()Creates a new model with the given enum and no other data.Creates a new model with the given enum and no other data.voidsetExpiresIn(Long expiresIn) voidsetMessage(String message) voidsetMfaType(String mfaType) voidsetTempToken(String tempToken) Creates a new model with the given enum and no other data.toString()
-
Field Details
-
JSON_PROPERTY_EXPIRES_IN
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_MFA_TYPE
- See Also:
-
JSON_PROPERTY_TEMP_TOKEN
- See Also:
-
-
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
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data. -
getExpiresIn
The time in seconds until the temporary token expires.- Returns:
- expiresIn
-
setExpiresIn
-
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
Message to be displayed to the user, e.g., instructions for two-factor authentication.- Returns:
- message
-
setMessage
-
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
The type of multi-factor authentication required.- Returns:
- mfaType
-
setMfaType
-
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
Temporary token to be used for two-factor authentication.- Returns:
- tempToken
-
setTempToken
-
equals
-
hashCode
-
toString
-