UNPKG

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

Version:

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

42 lines (37 loc) 1.11 kB
"use strict"; /** * Copyright © 2024 Nevis Security AG. All rights reserved. */ import { OperationError } from "./OperationError.js"; /** * 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. * * > [!IMPORTANT] * > This error occurs when a {@link JwsAuthorizationProvider} was provided during {@link Deregistration}. * * @group Errors * @category Operation */ export class OperationClockSkewTooBigError 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=OperationClockSkewTooBigError.js.map