Exemplo n.º 1
0
 public function postAuthorize()
 {
     $bridgeRequest = BridgeRequest::createFromRequest($this->request);
     $bridgeResponse = new BridgeResponse();
     $userId = $this->onPostAuthorized();
     $isAuthorized = (bool) $userId;
     $this->server->handleAuthorizeRequest($bridgeRequest, $bridgeResponse, $isAuthorized, $userId);
     return $bridgeResponse;
 }