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 compatibilityRemoveTokenStep(StepLogger stepLogger)Constructor -
Method Summary
Modifier and Type Method Description ResultStatusObjectexecute(java.util.Map<java.lang.String,java.lang.Object> context)Execute this step with given contextMethods inherited from class io.getlime.security.powerauth.lib.cmd.steps.v2.AbstractBaseStepV2
executeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.getlime.security.powerauth.lib.cmd.steps.BaseStep
getStep, getSupportedVersions
-
Constructor Details
-
RemoveTokenStep
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.ExceptionExecute 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.
-