# Auth

Authentication layer

****

- Full class name: `Kirby\Cms\Auth`
- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Cms/Auth.php#L30>

****

### Auth

- [new Auth()](https://getkirby.com/docs/reference/objects/cms/auth/__construct.md)
- [$auth->createChallenge()](https://getkirby.com/docs/reference/objects/cms/auth/create-challenge.md)
- [$auth->csrf()](https://getkirby.com/docs/reference/objects/cms/auth/csrf.md)
- [$auth->csrfFromSession()](https://getkirby.com/docs/reference/objects/cms/auth/csrf-from-session.md)
- [$auth->currentUserFromBasicAuth()](https://getkirby.com/docs/reference/objects/cms/auth/current-user-from-basic-auth.md)
- [$auth->currentUserFromImpersonation()](https://getkirby.com/docs/reference/objects/cms/auth/current-user-from-impersonation.md)
- [$auth->currentUserFromSession()](https://getkirby.com/docs/reference/objects/cms/auth/current-user-from-session.md)
- [$auth->enabledChallenges()](https://getkirby.com/docs/reference/objects/cms/auth/enabled-challenges.md)
- [$auth->flush()](https://getkirby.com/docs/reference/objects/cms/auth/flush.md)
- [$auth->impersonate()](https://getkirby.com/docs/reference/objects/cms/auth/impersonate.md)
- [$auth->ipHash()](https://getkirby.com/docs/reference/objects/cms/auth/ip-hash.md)
- [$auth->isBlocked()](https://getkirby.com/docs/reference/objects/cms/auth/is-blocked.md)
- [$auth->log()](https://getkirby.com/docs/reference/objects/cms/auth/log.md)
- [$auth->logfile()](https://getkirby.com/docs/reference/objects/cms/auth/logfile.md)
- [$auth->login()](https://getkirby.com/docs/reference/objects/cms/auth/login.md)
- [$auth->login2fa()](https://getkirby.com/docs/reference/objects/cms/auth/login2fa.md)
- [$auth->logout()](https://getkirby.com/docs/reference/objects/cms/auth/logout.md)
- [$auth->setUser()](https://getkirby.com/docs/reference/objects/cms/auth/set-user.md)
- [$auth->status()](https://getkirby.com/docs/reference/objects/cms/auth/status.md)
- [$auth->track()](https://getkirby.com/docs/reference/objects/cms/auth/track.md)
- [$auth->type()](https://getkirby.com/docs/reference/objects/cms/auth/type.md)
- [$auth->user()](https://getkirby.com/docs/reference/objects/cms/auth/user.md)
- [$auth->validatePassword()](https://getkirby.com/docs/reference/objects/cms/auth/validate-password.md)
- [$auth->verifyChallenge()](https://getkirby.com/docs/reference/objects/cms/auth/verify-challenge.md)