◆ getEntity()
String org.gluu.credmanager.plugins.authnmethod.rs.status.otp.FinishCode.getEntity |
( |
OTPDevice |
device | ) |
|
|
inlineprivate |
31 Map<String, Object> map =
new LinkedHashMap<>();
32 map.put(
"code", toString());
34 map.put(
"data", device);
36 return Utils.jsonFromObject(map);
◆ getResponse()
Response org.gluu.credmanager.plugins.authnmethod.rs.status.otp.FinishCode.getResponse |
( |
OTPDevice |
device | ) |
|
|
inline |
42 Response.Status httpStatus;
45 httpStatus = BAD_REQUEST;
48 httpStatus = INTERNAL_SERVER_ERROR;
53 return Response.status(httpStatus).entity(
getEntity(device)).build();
MISSING_PARAMS
Definition: FinishCode.java:23
String getEntity(OTPDevice device)
Definition: FinishCode.java:29
FAILED
Definition: FinishCode.java:26
◆ EXPIRED
org.gluu.credmanager.plugins.authnmethod.rs.status.otp.FinishCode.EXPIRED |
◆ FAILED
org.gluu.credmanager.plugins.authnmethod.rs.status.otp.FinishCode.FAILED |
◆ MISSING_PARAMS
org.gluu.credmanager.plugins.authnmethod.rs.status.otp.FinishCode.MISSING_PARAMS |
◆ NO_MATCH
org.gluu.credmanager.plugins.authnmethod.rs.status.otp.FinishCode.NO_MATCH |
次のファイルからこの列挙についての詳解を抽出しました:
- D:/AppData/OpenId/gluu/src/cred-manager/app/src/main/java/org/gluu/credmanager/plugins/authnmethod/rs/status/otp/FinishCode.java