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