Class DuoAuthResponse

java.lang.Object
net.shibboleth.idp.authn.duo.impl.DuoAuthAPIResponse
net.shibboleth.idp.authn.duo.impl.DuoAuthResponse

public class DuoAuthResponse
extends DuoAuthAPIResponse
Describes the results of an authentication attempt via the Duo AuthAPI, intended for use with a jackson ObjectMapper.
  • Field Details

    • status

      @Nonnull private String status
      the status string.
    • trustedDeviceToken

      @Nullable private String trustedDeviceToken
      the trusted device token string.
  • Constructor Details

    • DuoAuthResponse

      public DuoAuthResponse()
  • Method Details

    • getStatus

      @Nonnull public String getStatus()
      Get the Duo status string.
      Returns:
      Duo status string
    • getTrustedDeviceToken

      @Nullable public String getTrustedDeviceToken()
      Get the Duo trusted device token string.
      Returns:
      Duo trusted device token string