Class DeleteRefreshToken

java.lang.Object
net.lightapi.portal.command.AbstractCommandHandler
net.lightapi.portal.oauth.command.handler.DeleteRefreshToken
All Implemented Interfaces:
com.networknt.rpc.HybridHandler

public class DeleteRefreshToken extends net.lightapi.portal.command.AbstractCommandHandler
This endpoint will be called by light-oauth2 and portal UI to remove compromised refresh token by admin. client credentials token will be used if called from the light-oauth2 authorization code token will be used if called from the Portal UI.
Author:
Steve Hu
  • Field Summary

    Fields inherited from class net.lightapi.portal.command.AbstractCommandHandler

    config, dbProvider, HOST_ID, INCORRECT_TOKEN_TYPE, SEND_MESSAGE_EXCEPTION, USER_ID

    Fields inherited from interface com.networknt.rpc.HybridHandler

    ERROR_NOT_DEFINED, REQUEST_SUCCESS, STATUS_VALIDATION_ERROR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    protected String
     
    protected org.slf4j.Logger
     

    Methods inherited from class net.lightapi.portal.command.AbstractCommandHandler

    additionalAction, buildCloudEvent, customizeOutput, enrichInput, handle, validateInput, validateTokenType

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.networknt.rpc.HybridHandler

    getStatus, getStatus, validate
  • Constructor Details

    • DeleteRefreshToken

      public DeleteRefreshToken()
  • Method Details

    • getCloudEventType

      protected String getCloudEventType()
      Specified by:
      getCloudEventType in class net.lightapi.portal.command.AbstractCommandHandler
    • getCloudEventAggregateType

      public String getCloudEventAggregateType()
      Specified by:
      getCloudEventAggregateType in class net.lightapi.portal.command.AbstractCommandHandler
    • getCloudEventAggregateId

      public String getCloudEventAggregateId(Map<String,Object> map)
      Specified by:
      getCloudEventAggregateId in class net.lightapi.portal.command.AbstractCommandHandler
    • getLogger

      protected org.slf4j.Logger getLogger()
      Specified by:
      getLogger in class net.lightapi.portal.command.AbstractCommandHandler