File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/VerifierServer/Endpoints Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ interface EndpointInterface
2121 * @param int|string &$response The variable to store the generated response.
2222 * @param array &$content_type The variable to store the content type of the response.
2323 * @param string &$body The variable to store the body of the response.
24- * @param bool $bypass_token Whether to bypass the token check.
24+ * @param bool $bypass_token Whether to bypass the token check. Default is false.
2525 */
2626 public function handle (
2727 string $ method ,
Original file line number Diff line number Diff line change 2222 * - __construct: Initializes the VerifiedEndpoint with a reference to the PersistentState object.
2323 * - handle: Routes incoming HTTP requests to the appropriate handler based on the HTTP method.
2424 * - get: Handles GET requests to retrieve the verification list.
25- * - post: Handles POST and DELETE requests to modify the verification list.
26- * - __post: Adds a new verification entry to the list if it does not already exist .
27- * - delete: Removes an existing verification entry from the list.
25+ * - post: Handles POST requests to modify the verification list.
26+ * - __post: Adds a new entry to the verification list if its fields/columns are unique .
27+ * - delete: Handles DELETE request to remove an existing entry from the verification list.
2828 *
2929 * Authorization:
3030 * - The class checks the provided token against the expected token stored in the PersistentState.
You can’t perform that action at this time.
0 commit comments