X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FAPI%2FEvent%2FAuthorizeEvent.php;h=9d146a9b40f6824976ff62101ba3b02d02c9f526;hb=18d22274e7cfa076940afc35eb2e53a74cabd00a;hp=82c63438247f6901459d31eae8e35ab852c78b4b;hpb=ab09045c843e85a6e39f5c02d27050405ccbf827;p=civicrm-core.git diff --git a/Civi/API/Event/AuthorizeEvent.php b/Civi/API/Event/AuthorizeEvent.php index 82c6343824..9d146a9b40 100644 --- a/Civi/API/Event/AuthorizeEvent.php +++ b/Civi/API/Event/AuthorizeEvent.php @@ -14,6 +14,12 @@ namespace Civi\API\Event; /** * Class AuthorizeEvent * @package Civi\API\Event + * + * Determine whether the API request is allowed for the current user. + * For successful execution, at least one listener must invoke + * $event->authorize(). + * + * Event name: 'civi.api.authorize' */ class AuthorizeEvent extends Event { /**