public class DuoPreauthAuthenticator extends AbstractDuoAuthenticator
| Modifier and Type | Field and Description |
|---|---|
private com.fasterxml.jackson.core.type.TypeReference<DuoResponseWrapper<DuoPreauthResponse>> |
wrapperTypeRef
TypeReference for the response generated by the endpoint.
|
| Constructor and Description |
|---|
DuoPreauthAuthenticator()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DuoPreauthResponse |
authenticate(DuoAuthenticationContext duoContext,
DuoIntegration duoIntegration)
Perform an authentication action via the Duo AuthAPI /preauth endpoint.
|
doAPIRequest, doInitialize, setHttpClient, setHttpClientSecurityParameters, setObjectMapperdestroy, doDestroy, initialize, isDestroyed, isInitialized@Nonnull private final com.fasterxml.jackson.core.type.TypeReference<DuoResponseWrapper<DuoPreauthResponse>> wrapperTypeRef
public DuoPreauthResponse authenticate(@Nonnull DuoAuthenticationContext duoContext, @Nonnull DuoIntegration duoIntegration) throws com.duosecurity.duoweb.DuoWebException
duoContext - Duo authentication context to useduoIntegration - Duo integration to useDuoPreauthResponsecom.duosecurity.duoweb.DuoWebException - if an error occursCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.