private void processResponse ( Response response ) { // at this point a server response should contain a secure JSON with challenges JSONObject jsonResponse = Utils . extractSecureJson ( response ) ; JSONObject jsonChallenges = ( jsonResponse == null ) ? null : jsonResponse . optJSONObject ( CHALLENGES_VALUE_NAME ) ; if ( jsonChallenges != null ) { startHandleChallenges ( jsonChallenges , response ) ; } else { listener . onSuccess ( response ) ; } }
Process a response from the server .