Package com.okta.idx.sdk.api.response
Class IDXResponse
java.lang.Object
com.okta.idx.sdk.api.response.IDXResponse
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe method to call when you want to cancel the Okta Identity Engine flow.getUser()
boolean
Check for the status of `successWithInteractionCode` indicating if the login was successful.raw()
Returns the raw JSON body of the Okta Identity Engine response.Return the current remediation object.Return a success response object after `loginSuccess()` returns true.
-
Constructor Details
-
IDXResponse
public IDXResponse()
-
-
Method Details
-
remediation
Return the current remediation object. MAY be null if there are no further remediation steps necessary- Returns:
- Remediation|null
-
cancel
The method to call when you want to cancel the Okta Identity Engine flow. This will return an IDXResponse- Parameters:
client
- theIDXClient
instance- Returns:
- IDXResponse
- Throws:
ProcessingException
- when the cancel operation encountered an execution/processing error.
-
successWithInteractionCode
Return a success response object after `loginSuccess()` returns true.- Returns:
- SuccessResponse
-
isLoginSuccessful
public boolean isLoginSuccessful()Check for the status of `successWithInteractionCode` indicating if the login was successful.- Returns:
- boolean
-
raw
Returns the raw JSON body of the Okta Identity Engine response.- Returns:
- String
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
- json processing exception
-
getStateHandle
-
getMessages
-
getAuthenticatorEnrollments
-
getUser
-
getAuthenticators
-
getCurrentAuthenticatorEnrollment
-
getCurrentAuthenticator
-
getSuccessWithInteractionCode
-