We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bbdf8d commit 44f1debCopy full SHA for 44f1deb
src/Authentication/Authenticators/Session.php
@@ -347,13 +347,21 @@ private function getActionTypes(): array
347
return $types;
348
}
349
350
+ /**
351
+ * Checks if the user is currently in pending login state.
352
+ * They need to do an auth action.
353
+ */
354
public function isPending(): bool
355
{
356
$this->checkUserState();
357
358
return $this->userState === self::STATE_PENDING;
359
360
361
362
+ * Checks if the visitor is anonymous. The user's id is unknown.
363
+ * They are not logged in, are not in pending login state.
364
365
public function isAnonymous(): bool
366
367
0 commit comments