Class ServiceAuthentication
java.lang.Object
org.silverpeas.mobile.shared.services.rest.AbstractService
org.silverpeas.mobile.shared.services.rest.ServiceAuthentication
- Author:
- svu
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidauthenticateTrustedDevice(RestCallback<UserProfileDTO> callback) voidauthenticateTwoFactor(String code, boolean trustDevice, RestCallback<UserProfileDTO> callback) voidauthentication(RestCallback<UserProfileDTO> callback) voidconfirmEnrollment(String code, boolean trustDevice, RestCallback<ServiceAuthentication.EnrollmentResult> callback) voidMethods inherited from class org.silverpeas.mobile.shared.services.rest.AbstractService
asBoolean, delete, encode, escapeJson, get, getText, initBasicRequest, initContext, mapArray, post, postBasic, postBasic, put, request, request, requestBasic, requestJson, requestJson, requestText, requestText, toJsonArray
-
Field Details
-
PATH
- See Also:
-
-
Constructor Details
-
ServiceAuthentication
public ServiceAuthentication()
-
-
Method Details
-
authentication
-
authenticateTwoFactor
public void authenticateTwoFactor(String code, boolean trustDevice, RestCallback<UserProfileDTO> callback) -
authenticateTrustedDevice
-
startEnrollment
-
confirmEnrollment
public void confirmEnrollment(String code, boolean trustDevice, RestCallback<ServiceAuthentication.EnrollmentResult> callback)
-