-
Notifications
You must be signed in to change notification settings - Fork 1
Question about OneDrive Storager implement #11
Comments
question 1: see beyondstorage/go-service-gdrive#17 question 2: I found that OneDrive do support file path: https://docs.microsoft.com/en-us/onedrive/developer/rest-api/resources/driveitem?view=odsp-graph-online (If I understand incorrectly, please tell me)
And take a look at this similar issue beyondstorage/go-service-gdrive#11 |
See go-service-gdrive RFC-14 for more info: https://github.com/beyondstorage/go-service-gdrive/blob/master/docs/rfcs/14-gdrive-for-go-storage-design.md
|
Hello, @zxy-lgtm , Is there anything else we can help you with? |
In recent days, I modified the SDK to use path instead of ID function. Recently, because onedri only uses oauth2, I am adding OAuth2 support to it. |
Maybe we can start a draft PR so that @xxchan can give some advice? |
Because I haven't learned oauth2, I'm learning the official onedrive documentation recently:https://docs.microsoft.com/en-us/graph/auth/auth-concepts
|
I also saw the implementation of GDrive |
thanks,but in the method delete does not useful there only have |
but I test and find |
Looks cool. |
… in SDK, but we prefer to use path
Moved to https://forum.beyondstorage.io/t/topic/240
|
authorization
Because onedrive uses
oauth
authentication, an OAuth instance is required to obtainaccesstoken
. Do we have to do this built-in? My current test environment uses the example of Microsoft Graph Explorer.If we need to do a built-in authentication process, I think maybe our
credential
field should beenv
, which contains similarclientid
,clientsecret
...abstract
objectID
topath
Because the current SDKs are all developed according to OneDrive's development manual. Onedrive's API objects are basically based on
objectID
, instead of locating a storage object through the traditionalpath
.So I think there are two ways to achieve
path
abstraction.The text was updated successfully, but these errors were encountered: