original_string: final public function getAuthority()
      {
  
          $self = $this;
          $auth = $self->get("handler", "auth");
  
          //$authority = \Platform\Authorize::getInstance();
  
          if (is_a($auth, Authenticate::class)) {
              if (isset($auth->authenticated)) {
                  //Read Rights if we have a userId
                  //$self->authority = $authority->getPermissions($auth);
              }
          }
  
          //return $self->authority;
      }
code: final public function getAuthority()
      {
  
          $self = $this;
          $auth = $self->get("handler", "auth");
  
          //$authority = \Platform\Authorize::getInstance();
  
          if (is_a($auth, Authenticate::class)) {
              if (isset($auth->authenticated)) {
                  //Read Rights if we have a userId
                  //$self->authority = $authority->getPermissions($auth);
              }
          }
  
          //return $self->authority;
      }
code_tokens: final public function getAuthority ( ) { $ self = $ this ; $ auth = $ self -> get ( "handler" , "auth" ) ; //$authority = \Platform\Authorize::getInstance(); if ( is_a ( $ auth , Authenticate :: class ) ) { if ( isset ( $ auth -> authenticated ) ) { //Read Rights if we have a userId //$self->authority = $authority->getPermissions($auth); } } //return $self->authority; }
docstring: Reads the authenticated user's right,
  
  @return Authority
docstring_tokens: Reads the authenticated user s right