Class GetClientById
java.lang.Object
net.lightapi.portal.oauth.query.handler.GetClientById
- All Implemented Interfaces:
com.networknt.rpc.HybridHandler
Get registered client detail by clientId. There are two consumers for this API. The light-portal UI
and light-oauth2 for client authentication. The first case will have an authorization code token with
a userId and the second is client credentials token without userId. Based on it, we will return the
client secret to the light-oauth2 only.
- Author:
- Steve Hu
-
Field Summary
FieldsFields 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
-
Field Details
-
dbProvider
public static net.lightapi.portal.db.PortalDbProvider dbProvider
-
-
Constructor Details
-
GetClientById
public GetClientById()
-
-
Method Details
-
handle
- Specified by:
handlein interfacecom.networknt.rpc.HybridHandler
-