UNPKG

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

Version:

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

44 lines (40 loc) 1.38 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OperationNotSupportedByBackendError = void 0; var _OperationError = require("./OperationError"); /** * Copyright © 2024 Nevis Security AG. All rights reserved. */ /** * The backend does not support using the {@link JwsAuthorizationProvider}. * * To use {@link JwsAuthorizationProvider} with deregistration, the backend must be running * nevisFIDO 7.2402** or later and the {@link https://docs.nevis.net/nevisfido/reference-guide/uaf-http-api/device-service | device service} * must be accessible. * * **IMPORTANT** \ * This error occurs when a {@link JwsAuthorizationProvider} was provided during {@link Deregistration}. */ class OperationNotSupportedByBackendError extends _OperationError.OperationError { /** * Provides details about the error that occurred. */ /** * The exception (if any) that caused this error. */ /** * The default constructor. * * @param description provides details about the error that occurred. * @param cause the exception (if any) that caused this error. */ constructor(description, cause) { super(); this.description = description; this.cause = cause; } } exports.OperationNotSupportedByBackendError = OperationNotSupportedByBackendError; //# sourceMappingURL=OperationNotSupportedByBackendError.js.map