Class QueryUserByWallet
java.lang.Object
net.lightapi.portal.user.query.handler.QueryUserByWallet
- All Implemented Interfaces:
com.networknt.rpc.HybridHandler
This is the endpoint used to get the email address from the Taiji wallet address. There are three scenarios:
1. The same user to get the email address from the taiji address. This is a rare situation.
2. Admin user use his/her credentials (authorization code token) to get another user's email from taiji address
3. Access from other portal services with client credentials token.
For security reason, one user cannot get other user's email address with the taiji address unless he/she is an admin
- Author:
- Steve Hu
-
Field Summary
Fields inherited from interface com.networknt.rpc.HybridHandler
ERROR_NOT_DEFINED, REQUEST_SUCCESS, STATUS_VALIDATION_ERROR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.networknt.rpc.HybridHandler
getStatus, getStatus, validate
-
Constructor Details
-
QueryUserByWallet
public QueryUserByWallet()
-
-
Method Details
-
handle
- Specified by:
handlein interfacecom.networknt.rpc.HybridHandler
-