Laravel Dropbox

Middleware

To restrict access to routes only to authenticated users there is a middleware route called DropboxAuthenticated

Add DropboxAuthenticated to routes to ensure the user is authenticated:

Route::group(['middleware' => ['web', 'DropboxAuthenticated'], function()

To access the token model reference this ORM model:

use Dcblogdev\Dropbox\Models\DropboxToken;

Copyright © 2006 - 2024 DC Blog - All rights reserved.