UNPKG

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

Version:

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

46 lines (41 loc) 1.41 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PendingOutOfBandOperationsClockSkewTooBig = void 0; var _PendingOutOfBandOperationsError = require("./PendingOutOfBandOperationsError"); /** * Copyright © 2024 Nevis Security AG. All rights reserved. */ /** * The clocks on the mobile and on the server are too apart and the server refused * to validate the {@link https://datatracker.ietf.org/doc/html/rfc7515 | JWS}. * * You can ask the user to verify that the device clock is correctly set. */ class PendingOutOfBandOperationsClockSkewTooBig extends _PendingOutOfBandOperationsError.PendingOutOfBandOperationsError { /** * Provides details about the error that occurred. */ /** * The exception (if any) that caused this error. */ /** * The server where the error occurred. */ /** * The default constructor. * * @param server the server where the error occurred. * @param description provides details about the error that occurred. * @param cause the exception (if any) that caused this error. */ constructor(server, description, cause) { super(); this.server = server; this.description = description; this.cause = cause; } } exports.PendingOutOfBandOperationsClockSkewTooBig = PendingOutOfBandOperationsClockSkewTooBig; //# sourceMappingURL=PendingOutOfBandOperationsClockSkewTooBig.js.map