UNPKG

@nevis-security/nevis-mobile-authentication-sdk-react

Version:

React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.

49 lines (43 loc) 1.37 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AuthenticationFidoError = void 0; var _AuthenticationError = require("./AuthenticationError"); /** * Copyright © 2023 Nevis Security AG. All rights reserved. */ /** * An error that indicates that a FIDO UAF error occurred during an operation. */ class AuthenticationFidoError extends _AuthenticationError.AuthenticationError { /** * The FIDO UAF error that occurred. */ /** * Provides details about the error that occurred. */ /** * The exception (if any) that caused this error. */ /** * The {@link SessionProvider} that can be used to continue with the operation. */ /** * The default constructor. * * @param errorCode the FIDO UAF error that occurred. * @param description provides details about the error that occurred. * @param cause the exception (if any) that caused this error. * @param sessionProvider the {@link SessionProvider} that can be used to continue with the operation. */ constructor(errorCode, description, cause, sessionProvider) { super(); this.errorCode = errorCode; this.description = description; this.cause = cause; this.sessionProvider = sessionProvider; } } exports.AuthenticationFidoError = AuthenticationFidoError; //# sourceMappingURL=AuthenticationFidoError.js.map