Class DuoResponseWrapper<T extends DuoAuthAPIResponse>
java.lang.Object
net.shibboleth.idp.authn.duo.impl.DuoResponseWrapper<T>
- Type Parameters:
T
- the subclass ofDuoAuthAPIResponse
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 Summary
-
Constructor Summary
Constructors Constructor Description DuoResponseWrapper()
-
Method Summary
Modifier and Type Method Description T
getResponse()
Get the inner response.String
getStat()
Get the response status.
-
Field Details
-
response
the inner response. -
stat
the response status.
-
-
Constructor Details
-
DuoResponseWrapper
public DuoResponseWrapper()
-
-
Method Details
-
getResponse
Get the inner response.- Returns:
- inner response
-
getStat
Get the response status.- Returns:
- response status
-