rpEntity = new PublicKeyCredentialRpEntity(config('app.name'), trim($url, '/')); } public function getServer(User $user) { return new Server( $this->rpEntity, PublicKeyCredentialSourceRepository::factory($user) ); } }