Rev 635 | Rev 679 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 635 | Rev 639 | ||
---|---|---|---|
Line 136... | Line 136... | ||
136 | 136 | ||
137 | // Override abstract functions |
137 | // Override abstract functions |
138 | 138 | ||
139 | public function activate() { |
139 | public function activate() { |
140 | // Send cookie at the end of the HTTP request, in case there are multiple activate() calls |
140 | // Send cookie at the end of the HTTP request, in case there are multiple activate() calls |
141 | register_shutdown_function(array($this,'activateNow')); |
141 | OIDplus::register_shutdown_function(array($this,'activateNow')); |
142 | } |
142 | } |
143 | 143 | ||
144 | public function activateNow() { |
144 | public function activateNow() { |
145 | $token = $this->getJWTToken(); |
145 | $token = $this->getJWTToken(); |
146 | $exp = $this->getValue('exp',0); |
146 | $exp = $this->getValue('exp',0); |