auth = new AuthentikOIDC($cfg); } public function login(): void { $this->auth->authenticate(); } public function callback(): void { $this->auth->authenticate(); redirect('/dashboard'); } public function logout(): void { $this->auth->logout(); } }