code: final public function getPermissions( $authenticated ) {
  
          //$authority      = $this;
          $this->userid = (int) $authenticated->get("user_id");
  
          //Authenticated?
          if ($authenticated->authenticated && !empty($this->userid)) {
              //At least we know the user is authenticated
              $this->setAuthority( AUTHROITY_IMPLIED_AUTHENTICATED );
          }
      }
docs: Gets the permissions givent to the authenticated users
  
  @param object $authenticated
  @uses \Library\Authorize\Permission to determin execute permissions
  @return object Permission