Class DuoAuthAPIResponse

java.lang.Object
net.shibboleth.idp.authn.duo.impl.DuoAuthAPIResponse
Direct Known Subclasses:
DuoAuthResponse, DuoPreauthResponse

public abstract class DuoAuthAPIResponse
extends Object
Describes the results of a Duo AuthAPI call, intended for use with a jackson ObjectMapper.
Since:
3.4.0
  • Field Details

    • result

      @Nonnull private String result
      the result.
    • statusMessage

      @Nonnull private String statusMessage
      the status message.
  • Constructor Details

    • DuoAuthAPIResponse

      public DuoAuthAPIResponse()
  • Method Details

    • getResult

      @Nonnull public String getResult()
      Get the Duo result string.
      Returns:
      the result string
    • getStatusMessage

      @Nonnull public String getStatusMessage()
      Get the Duo status message.
      Returns:
      the Duo status message