Interface AuthCloudApiError.OperationError.ClockSkewTooBig

All Superinterfaces:
AuthCloudApiError, AuthCloudApiError.OperationError, MobileAuthenticationClientError
Enclosing interface:
AuthCloudApiError.OperationError

public static interface AuthCloudApiError.OperationError.ClockSkewTooBig extends AuthCloudApiError.OperationError
The clocks on the mobile and on the server are too apart and the server refused to validate the 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.

See Also:
  • Method Details

    • server

      @NonNull Server server()
      The server where the error occurred.
      Returns:
      the server where the error occurred
    • httpError

      @NonNull Optional<HttpError> httpError()
      Returns the HTTP error used to identify a clock skew, if the skew was detected in an HTTP error response.

      Returns Optional.empty() if the backend reports the clock skew directly in the body of a FIDO UAF message within a successful HTTP response.

      Returns:
      an Optional containing the HTTP error, or an empty Optional if the skew was reported in a successful response