Class DuoResponseWrapper<T extends DuoAuthAPIResponse>

  • 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 Detail

      • stat

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

      • DuoResponseWrapper

        public DuoResponseWrapper()
    • Method Detail

      • getResponse

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

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