group(static function (): void { Route::post('webauthn/register/options', [WebAuthnRegisterController::class, 'options']) ->name('webauthn.register.options'); Route::post('webauthn/register', [WebAuthnRegisterController::class, 'register']) ->name('webauthn.register'); Route::post('webauthn/login/options', [WebAuthnLoginController::class, 'options']) ->name('webauthn.login.options'); Route::post('webauthn/login', [WebAuthnLoginController::class, 'login']) ->name('webauthn.login'); });