Class RemoveTokenStep

java.lang.Object
io.getlime.security.powerauth.lib.cmd.steps.v2.AbstractBaseStepV2
io.getlime.security.powerauth.lib.cmd.steps.v2.RemoveTokenStep
All Implemented Interfaces:
BaseStep

@Component("removeTokenStepV2")
public class RemoveTokenStep
extends AbstractBaseStepV2
Helper class with token remove logic.

PowerAuth protocol versions:

  • 2.0
  • 2.1
Author:
Roman Strobl, roman.strobl@wultra.com
  • Field Summary

    Fields inherited from class io.getlime.security.powerauth.lib.cmd.steps.v2.AbstractBaseStepV2

    DEFAULT_STEP_LOGGER, stepLogger
  • Constructor Summary

    Constructors
    Constructor Description
    RemoveTokenStep()
    Constructor for backward compatibility
    RemoveTokenStep​(StepLogger stepLogger)
    Constructor
  • Method Summary

    Modifier and Type Method Description
    ResultStatusObject execute​(java.util.Map<java.lang.String,​java.lang.Object> context)
    Execute this step with given context

    Methods inherited from class io.getlime.security.powerauth.lib.cmd.steps.v2.AbstractBaseStepV2

    execute

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface io.getlime.security.powerauth.lib.cmd.steps.BaseStep

    getStep, getSupportedVersions
  • Constructor Details

    • RemoveTokenStep

      @Autowired public RemoveTokenStep​(StepLogger stepLogger)
      Constructor
      Parameters:
      stepLogger - Step logger
    • RemoveTokenStep

      public RemoveTokenStep()
      Constructor for backward compatibility
  • Method Details

    • execute

      public ResultStatusObject execute​(java.util.Map<java.lang.String,​java.lang.Object> context) throws java.lang.Exception
      Execute this step with given context
      Parameters:
      context - Provided context
      Returns:
      Result status object, null in case of failure.
      Throws:
      java.lang.Exception - In case of any error.