UNPKG

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

Version:

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

40 lines (35 loc) 1.17 kB
"use strict"; /** * Copyright © 2024 Nevis Security AG. All rights reserved. */ import { OperationError } from './OperationError'; /** * 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}. */ export class OperationNotSupportedByBackendError extends 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; } } //# sourceMappingURL=OperationNotSupportedByBackendError.js.map