Class AuthenticationResponse
- java.lang.Object
-
- de.xima.fc.api.rest.pub.impl.security.model.response.authentication.AuthenticationResponse
-
- All Implemented Interfaces:
Serializable
public final class AuthenticationResponse extends Object implements Serializable
- Since:
- 8.4.0
- Author:
- Norman Lorenz
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthenticationResponse.StatusType
-
Constructor Summary
Constructors Constructor Description AuthenticationResponse(AuthenticationResponse.StatusType statusType, AuthenticationTokenResponse tokenResponse, MfaTempTokenResponse mfaTempTokenResponse)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)MfaTempTokenResponsegetMfaTempTokenResponse()AuthenticationResponse.StatusTypegetStatusType()AuthenticationTokenResponsegetTokenResponse()inthashCode()static AuthenticationResponsemfaRequired(MfaTempTokenResponse mfaTempTokenResponse)static AuthenticationResponsesuccess(AuthenticationTokenResponse tokenResponse)StringtoString()
-
-
-
Constructor Detail
-
AuthenticationResponse
public AuthenticationResponse(AuthenticationResponse.StatusType statusType, AuthenticationTokenResponse tokenResponse, MfaTempTokenResponse mfaTempTokenResponse)
-
-
Method Detail
-
success
public static AuthenticationResponse success(AuthenticationTokenResponse tokenResponse)
-
mfaRequired
public static AuthenticationResponse mfaRequired(MfaTempTokenResponse mfaTempTokenResponse)
-
getStatusType
public AuthenticationResponse.StatusType getStatusType()
-
getTokenResponse
public AuthenticationTokenResponse getTokenResponse()
-
getMfaTempTokenResponse
public MfaTempTokenResponse getMfaTempTokenResponse()
-
-