protected function setRsa($service, $component = null, $verbs = ['GET', 'POST', 'PUT', 'PATCH', 'DELETE'], $requestor = ServiceRequestorTypes::API)
 {
     $verbMask = VerbsMask::arrayToMask($verbs);
     $rsa = ['service' => $service, 'component' => $component, 'verb_mask' => $verbMask, 'requestor_mask' => $requestor];
     $this->rsa[] = $rsa;
     Session::put($this->rsaKey, $this->rsa);
 }
Beispiel #2
0
 public static function put($key, $value = null)
 {
     \Session::put($key, $value);
 }