public interface PinClient extends com.covisint.core.http.service.client.ResourceClient<Pin>
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<Boolean,com.covisint.core.http.service.core.ServiceException> |
isExisting(String subject,
org.apache.http.protocol.HttpContext httpContext)
Validate if the pin existing for the user.
|
com.google.common.util.concurrent.CheckedFuture<Boolean,com.covisint.core.http.service.core.ServiceException> |
validatePIN(String id,
String pin,
String requestor,
org.apache.http.protocol.HttpContext httpContext)
Validate the pin.
|
@Nonnull com.google.common.util.concurrent.CheckedFuture<Boolean,com.covisint.core.http.service.core.ServiceException> validatePIN(@Nonnull@NotEmpty String id, @Nonnull@NotEmpty String pin, @Nonnull@NotEmpty String requestor, @Nonnull org.apache.http.protocol.HttpContext httpContext)
id - the subject name of user.pin - the pin number.requestor - the requestor.httpContext - http context which should include prefer language.@Nonnull com.google.common.util.concurrent.CheckedFuture<Boolean,com.covisint.core.http.service.core.ServiceException> isExisting(@Nonnull@NotEmpty String subject, @Nonnull org.apache.http.protocol.HttpContext httpContext)
subject - the subject name of user.httpContext - http context which should include prefer language.Copyright © 2015 Covisint. All rights reserved.