Class DeleteRefToken
java.lang.Object
net.lightapi.portal.command.AbstractCommandHandler
net.lightapi.portal.oauth.command.handler.DeleteRefToken
- All Implemented Interfaces:
com.networknt.rpc.HybridHandler
public class DeleteRefToken
extends net.lightapi.portal.command.AbstractCommandHandler
This endpoint will be called by oauth-kafka and portal UI to remove reference token used by the external clients.
client credentials token will be used if called from the oauth-kafka
reference token will be used if called from the Portal UI to delete the entry
- Author:
- Steve Hu
-
Field Summary
Fields inherited from class net.lightapi.portal.command.AbstractCommandHandler
config, HOST_ID, INCORRECT_TOKEN_TYPE, SEND_MESSAGE_EXCEPTION, USER_IDFields inherited from interface com.networknt.rpc.HybridHandler
ERROR_NOT_DEFINED, REQUEST_SUCCESS, STATUS_VALIDATION_ERROR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.lightapi.portal.command.AbstractCommandHandler
additionalAction, buildCloudEvent, customizeOutput, enrichInput, handle, validateInput, validateTokenTypeMethods 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
-
DeleteRefToken
public DeleteRefToken()
-
-
Method Details
-
getCloudEventType
- Specified by:
getCloudEventTypein classnet.lightapi.portal.command.AbstractCommandHandler
-
getLogger
protected org.slf4j.Logger getLogger()- Specified by:
getLoggerin classnet.lightapi.portal.command.AbstractCommandHandler
-