File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -515,11 +515,15 @@ public function hasParameter($name) {
515515 * The developer should implement this method in a way it returns a boolean.
516516 * If the method returns true, it means the client is allowed to use the service.
517517 * If the method returns false, then he is not authorized and a 401 error
518- * code will be sent back.
518+ * code will be sent back. If the method returned nothing, then it means the
519+ * user is authorized to call the API. If WebFiori framework is used, it is
520+ * possible to perform the functionality of this method using middleware.
519521 *
520522 * @since 1.0.1
521523 */
522- abstract function isAuthorized ();
524+ public function isAuthorized () {
525+
526+ }
523527 /**
524528 * Returns the value of the property 'requreAuth'.
525529 *
You can’t perform that action at this time.
0 commit comments