mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-29 02:40:13 +02:00
25 lines
565 B
Plaintext
25 lines
565 B
Plaintext
|
@startuml
|
||
|
participant "OneDrive Client\nfor Linux" as od
|
||
|
participant "libcurl" as lc
|
||
|
participant "Microsoft Authentication Service\n(OAuth 2.0 Endpoint)" as oauth
|
||
|
participant "Microsoft Graph API" as graph
|
||
|
|
||
|
activate od
|
||
|
activate lc
|
||
|
|
||
|
od->oauth: Request access token
|
||
|
activate oauth
|
||
|
oauth-->od: Access token
|
||
|
deactivate oauth
|
||
|
|
||
|
loop API Communication
|
||
|
od->lc: Construct HTTPS request (with token)
|
||
|
activate lc
|
||
|
lc->graph: API Request
|
||
|
activate graph
|
||
|
graph-->lc: API Response
|
||
|
deactivate graph
|
||
|
lc-->od: Process response
|
||
|
deactivate lc
|
||
|
end
|
||
|
@enduml
|