Package net.shibboleth.idp.authn.duo
Class AuthenticationRequestOptions
java.lang.Object
net.shibboleth.idp.authn.duo.AuthenticationRequestOptions
The set of authentication request options to supply to the Duo OpenID Provider.
- Since:
- 2.4.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the maximum authentication age in seconds.getNonce()Get the nonce.Get the prompt parameter.Get the override redirect URI.getState()Get the state.Get the username.Set the maximum authentication age in seconds.Set the nonce.Set the prompt parameter.setRedirectURIOverride(String override) Set the override redirect URI.Set the state.setUsername(String value) Set the username.toString()
-
Field Details
-
username
Username being authenticated. -
state
OIDC state parameter. -
nonce
OIDC nonce parameter. -
prompt
OIDC prompt parameter. -
maxAge
OIDC max_age parameter in seconds. Is an Integer value in Duo. -
redirectURIOverride
Optional redirect URI override to use.
-
-
Constructor Details
-
AuthenticationRequestOptions
public AuthenticationRequestOptions()
-
-
Method Details
-
getUsername
Get the username.- Returns:
- username
-
setUsername
Set the username.- Parameters:
value- username- Returns:
- this options
-
getState
Get the state.- Returns:
- state
-
setState
Set the state.- Parameters:
value- state- Returns:
- this options
-
getNonce
Get the nonce.- Returns:
- nonce
-
setNonce
Set the nonce.- Parameters:
value- nonce- Returns:
- this options
-
getPrompt
Get the prompt parameter.- Returns:
- prompt
-
setPrompt
Set the prompt parameter.- Parameters:
value- prompt- Returns:
- this options
-
getMaxAge
Get the maximum authentication age in seconds.- Returns:
- max_age
-
setMaxAge
Set the maximum authentication age in seconds.- Parameters:
value- max_age- Returns:
- this options
-
getRedirectURIOverride
Get the override redirect URI.- Returns:
- the override redirect URI.
-
setRedirectURIOverride
Set the override redirect URI.- Parameters:
override- the override redirect URI.- Returns:
- this options.
-
toString
-