Package com.okta.spring.example.helpers
Class PollResults
- java.lang.Object
-
- com.okta.spring.example.helpers.PollResults
-
public class PollResults extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PollResults()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getErrors()Return errors after poll request.AuthenticationStatusgetStatus()Get AuthenticationStatus after poll request.voidsetErrors(java.util.List<java.lang.String> listErrors)Set errors after poll request.voidsetStatus(AuthenticationStatus authenticationStatus)Set AuthenticationStatus after poll request.
-
-
-
Method Detail
-
getErrors
public java.util.List<java.lang.String> getErrors()
Return errors after poll request.- Returns:
- List of errors
-
setErrors
public void setErrors(java.util.List<java.lang.String> listErrors)
Set errors after poll request.- Parameters:
listErrors- list of errors
-
getStatus
public AuthenticationStatus getStatus()
Get AuthenticationStatus after poll request.- Returns:
- AuthenticationStatus value
-
setStatus
public void setStatus(AuthenticationStatus authenticationStatus)
Set AuthenticationStatus after poll request.- Parameters:
authenticationStatus- is AuthenticationStatus value after poll request
-
-