Class DuoHealthCheckResponse

java.lang.Object
net.shibboleth.idp.plugin.authn.duo.model.DuoHealthCheckResponse

@Immutable @ThreadSafe public final class DuoHealthCheckResponse extends Object
Represents part of the DuoHealthCheck response.
  • Field Details

    • timestamp

      @Nonnull private final Integer timestamp
      The response timestamp in seconds since Unix EPOCH.
  • Constructor Details

    • DuoHealthCheckResponse

      public DuoHealthCheckResponse(@Nonnull Integer time)
      Constructor.
      Parameters:
      time - the timestamp.
  • Method Details

    • getTimestamp

      @Nonnull public Integer getTimestamp()
      Get the response timestamp.
      Returns:
      the response timestamp.
    • toString

      public String toString()
      Overrides:
      toString in class Object