Class DuoResponseWrapper<T extends DuoAuthAPIResponse>

java.lang.Object
net.shibboleth.idp.authn.duo.impl.DuoResponseWrapper<T>
Type Parameters:
T - the subclass of DuoAuthAPIResponse being wrapped

public class DuoResponseWrapper<T extends DuoAuthAPIResponse>
extends Object
Handle a generic object returned from the response that will come from the Duo AuthAPI.
  • Field Details

    • response

      @Nonnull private T extends DuoAuthAPIResponse response
      the inner response.
    • stat

      @Nonnull private String stat
      the response status.
  • Constructor Details

    • DuoResponseWrapper

      public DuoResponseWrapper()
  • Method Details

    • getResponse

      @Nonnull public T getResponse()
      Get the inner response.
      Returns:
      inner response
    • getStat

      @Nonnull public String getStat()
      Get the response status.
      Returns:
      response status