Interface OperationError.ClockSkewTooBig

All Superinterfaces:
MobileAuthenticationClientError, OperationError
Enclosing interface:
OperationError

public static interface OperationError.ClockSkewTooBig extends 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 when using a AuthorizationProvider.JwsAuthorizationProvider with a Deregistration operation and 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