adhoc: commit todo changes related to google drive

This commit is contained in:
Aaron Liu
2023-05-25 19:46:05 +08:00
parent 31d4a3445d
commit 4c834e75fa
7 changed files with 52 additions and 25 deletions

View File

@@ -5,6 +5,7 @@ import (
model "github.com/cloudreve/Cloudreve/v3/models"
"github.com/cloudreve/Cloudreve/v3/pkg/cluster"
"github.com/cloudreve/Cloudreve/v3/pkg/request"
"google.golang.org/api/drive/v3"
)
// Client Google Drive client
@@ -39,7 +40,7 @@ const (
var (
// Defualt required scopes
RequiredScope = []string{
"https://www.googleapis.com/auth/drive",
drive.DriveScope,
"openid",
"profile",
"https://www.googleapis.com/auth/userinfo.profile",