Class AuthenticationResponse
- java.lang.Object
-
- de.xima.fc.api.rest.pub.client.security.model.AuthenticationResponse
-
- All Implemented Interfaces:
Serializable
@Generated("de.xima.openapi.codegen.java_jaxrs.XimaJavaJaxrsGenerator") public class AuthenticationResponse extends Object implements SerializableResponse model for authentication requests, indicating success or requiring MFA.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthenticationResponse.StatusTypeEnumThe status of the authentication request, indicating success or if MFA is required.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MFA_REQUIRED_RESPONSEstatic StringJSON_PROPERTY_STATUS_TYPEstatic StringJSON_PROPERTY_TOKEN_RESPONSE
-
Constructor Summary
Constructors Constructor Description AuthenticationResponse()Creates a new empty model with no data yet.
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_MFA_REQUIRED_RESPONSE
public static final String JSON_PROPERTY_MFA_REQUIRED_RESPONSE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATUS_TYPE
public static final String JSON_PROPERTY_STATUS_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOKEN_RESPONSE
public static final String JSON_PROPERTY_TOKEN_RESPONSE
- See Also:
- Constant Field Values
-
-
Method Detail
-
mfaRequiredResponse
public AuthenticationResponse mfaRequiredResponse(MfaTempTokenResponse mfaRequiredResponse)
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
-
getMfaRequiredResponse
@Nullable public MfaTempTokenResponse getMfaRequiredResponse()
Get mfaRequiredResponse- Returns:
- mfaRequiredResponse
-
setMfaRequiredResponse
public void setMfaRequiredResponse(MfaTempTokenResponse mfaRequiredResponse)
-
statusType
public AuthenticationResponse statusType(AuthenticationResponse.StatusTypeEnum statusType)
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
-
getStatusType
@Nullable public AuthenticationResponse.StatusTypeEnum getStatusType()
The status of the authentication request, indicating success or if MFA is required.- Returns:
- statusType
-
setStatusType
public void setStatusType(AuthenticationResponse.StatusTypeEnum statusType)
-
tokenResponse
public AuthenticationResponse tokenResponse(AuthenticationTokenResponse tokenResponse)
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
-
getTokenResponse
@Nullable public AuthenticationTokenResponse getTokenResponse()
Get tokenResponse- Returns:
- tokenResponse
-
setTokenResponse
public void setTokenResponse(AuthenticationTokenResponse tokenResponse)
-
-