Interface GetPortalUserTokenCompletionHandler
-
public interface GetPortalUserTokenCompletionHandlerDeclares a completion handler used to report the status of a GetPortalUserToken request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonError(UnifiedPortalError error)Operation failed.voidonSuccess(java.lang.String portalUserToken, java.util.Date portalUserTokenExpirationTime)Success operation.
-
-
-
Method Detail
-
onSuccess
void onSuccess(java.lang.String portalUserToken, java.util.Date portalUserTokenExpirationTime)Success operation.- Parameters:
portalUserToken- Portal User Token. Not null if the request was successfully completed.portalUserTokenExpirationTime- The time Portal User Token is valid till. Application shall check token for expiration before use, and obtain a new token if required. Not null if the request was successfully completed.
-
onError
void onError(UnifiedPortalError error)
Operation failed.- Parameters:
error- Not null if the request failed. Represents the error associated with the request.
-
-