# abortSession

fun abortSession(sessionDetails: SessionDetails, resultHandler: ResultHandler<Unit, MIRACLException>)

Cancel the authentication session.

# Parameters

sessionDetails details for authentication session
resultHandler a callback to handle the result of session abort.
  • If successful, the result is MIRACLSuccess.
  • If an error occurs, the result is MIRACLError with a message. On exception, the exception object is also passed.