# abortAuthenticationSession

fun abortAuthenticationSession(authenticationSessionDetails: AuthenticationSessionDetails, resultHandler: ResultHandler<Unit, AuthenticationSessionException>)

Cancel the authentication session.

# Parameters

authenticationSessionDetails 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.