public class DuoAuthAuthenticator extends AbstractDuoAuthenticator
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.escape.Escaper |
paramEscaper
pushinfo escaper.
|
private com.fasterxml.jackson.core.type.TypeReference<DuoResponseWrapper<DuoAuthResponse>> |
wrapperTypeRef
a TypeReference for the repsonse generated by the endpoint.
|
| Constructor and Description |
|---|
DuoAuthAuthenticator()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DuoAuthResponse |
authenticate(DuoAuthenticationContext duoContext,
DuoIntegration duoIntegration)
Perform an authentication action via the Duo AuthApi /auth endpoint.
|
doAPIRequest, doInitialize, setHttpClient, setHttpClientSecurityParameters, setObjectMapperdestroy, doDestroy, initialize, isDestroyed, isInitialized@Nonnull private final com.google.common.escape.Escaper paramEscaper
@Nonnull private final com.fasterxml.jackson.core.type.TypeReference<DuoResponseWrapper<DuoAuthResponse>> wrapperTypeRef
public DuoAuthResponse authenticate(@Nonnull DuoAuthenticationContext duoContext, @Nonnull DuoIntegration duoIntegration) throws com.duosecurity.duoweb.DuoWebException
duoContext - Duo authentication context to useduoIntegration - Duo integration to useDuoAuthResponsecom.duosecurity.duoweb.DuoWebException - if an error occursCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.