/** * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ public function index() { $title = 'Oauth2 Credentials'; $oauth2Credentials = Oauth2Credential::all(); return view('admin.dashboard.oauth2credential.oauth2credentialspage', compact('title', 'oauth2Credentials')); }