public class DuoAuthenticationContext extends BaseContext
This is used for AuthAPI-based use of Duo rather than the usual delegation of the process to their Web SDK.
AuthenticationContextBaseContext.ContextSetNoRemoveIteratorDecorator| Modifier and Type | Field and Description |
|---|---|
private String |
clientAddress
Client address.
|
private String |
duoDevice
Device ID.
|
private String |
duoFactor
Factor.
|
private String |
duoPasscode
Passcode.
|
private Map<String,String> |
pushInfo
PushInfo data.
|
private String |
username
Username.
|
| Constructor and Description |
|---|
DuoAuthenticationContext()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClientAddress()
Get the client address.
|
String |
getDeviceID()
Get the device ID.
|
String |
getFactor()
Get the factor to use.
|
String |
getPasscode()
Get the passcode.
|
Map<String,String> |
getPushInfo()
Get the pushinfo.
|
String |
getUsername()
Get the username.
|
DuoAuthenticationContext |
setClientAddress(String address)
Set the client address.
|
DuoAuthenticationContext |
setDeviceID(String deviceId)
Set the device ID.
|
DuoAuthenticationContext |
setFactor(String factor)
Set the factor to use.
|
DuoAuthenticationContext |
setPasscode(String passcode)
Set the passcode.
|
DuoAuthenticationContext |
setUsername(String name)
Set the username.
|
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, isAutoCreateSubcontexts, iterator, removeSubcontext, removeSubcontext, setAutoCreateSubcontexts, setParent@Nonnull public DuoAuthenticationContext setUsername(@Nullable String name)
name - username@Nonnull public DuoAuthenticationContext setClientAddress(@Nullable String address)
address - client address@Nullable public String getDeviceID()
@Nonnull public DuoAuthenticationContext setDeviceID(@Nullable String deviceId)
deviceId - the Duo device identifier@Nonnull public DuoAuthenticationContext setFactor(@Nullable String factor)
factor - the Duo factor@Nonnull public DuoAuthenticationContext setPasscode(@Nullable String passcode)
passcode - the passcodeCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.