@nevis-security/nevis-mobile-authentication-sdk-react
Version:
React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.
42 lines (38 loc) • 1.27 kB
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.AuthCloudApiClockSkewTooBigError = void 0;
var _AuthCloudApiError = require("./AuthCloudApiError");
/**
* Copyright © 2023 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.
*
* This error can only occur during registration when the user already has an authenticator registered.
*/
class AuthCloudApiClockSkewTooBigError extends _AuthCloudApiError.AuthCloudApiError {
/**
* 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.AuthCloudApiClockSkewTooBigError = AuthCloudApiClockSkewTooBigError;
//# sourceMappingURL=AuthCloudApiClockSkewTooBigError.js.map
;