File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -328,11 +328,9 @@ def validate_structure
328328
329329 # Validates that the SAML Response provided in the initialization is not empty,
330330 # also check that the setting and the IdP cert were also provided
331- # @param soft [Boolean] soft Enable or Disable the soft mode (In order to raise exceptions when the response is invalid or not)
332- # @return [Boolean] True if the required info is found, otherwise False if soft=True
333- # @raise [ValidationError] if soft == false and validation fails
331+ # @return [Boolean] True if the required info is found, false otherwise
334332 #
335- def validate_response_state ( soft = true )
333+ def validate_response_state
336334 return append_error ( "Blank response" ) if response . nil? || response . empty?
337335
338336 return append_error ( "No settings on response" ) if settings . nil?
You can’t perform that action at this time.
0 commit comments