| @@ 197-210 (lines=14) @@ | ||
| 194 | } |
|
| 195 | ||
| 196 | ||
| 197 | private function assembleCookieLogDetails(Entity\CookieIdentity $identity): array |
|
| 198 | { |
|
| 199 | return [ |
|
| 200 | 'input' => [ |
|
| 201 | 'account' => $identity->getAccountId(), |
|
| 202 | 'series' => $identity->getSeries(), |
|
| 203 | 'key' => $identity->getKey(), |
|
| 204 | ], |
|
| 205 | 'user' => [ |
|
| 206 | 'account' => $identity->getAccountId(), |
|
| 207 | 'identity' => $identity->getId(), |
|
| 208 | ], |
|
| 209 | ]; |
|
| 210 | } |
|
| 211 | ||
| 212 | ||
| 213 | public function discardIdentityCollection(Entity\IdentityCollection $list) |
|
| @@ 308-320 (lines=13) @@ | ||
| 305 | } |
|
| 306 | ||
| 307 | ||
| 308 | private function assembleNonceLogDetails(Entity\NonceIdentity $identity): array |
|
| 309 | { |
|
| 310 | return [ |
|
| 311 | 'input' => [ |
|
| 312 | 'identifier' => $identity->getIdentifier(), |
|
| 313 | 'key' => $identity->getKey(), |
|
| 314 | ], |
|
| 315 | 'user' => [ |
|
| 316 | 'account' => $identity->getAccountId(), |
|
| 317 | 'identity' => $identity->getId(), |
|
| 318 | ], |
|
| 319 | ]; |
|
| 320 | } |
|
| 321 | ||
| 322 | ||
| 323 | public function markForUpdate(Entity\Identity $identity, array $payload, $tokenLifespan = self::DEFAULT_TOKEN_LIFESPAN) |
|