Отличное форматирование

This commit is contained in:
2026-05-26 14:59:25 +03:00
parent 2b139a18b3
commit e3a615cb50
49 changed files with 1294 additions and 501 deletions

View File

@@ -0,0 +1,24 @@
@startuml fig_20_oauth_sequence
scale 3
title OAuth 2.0: авторизация Яндекс
skinparam defaultFontName "DejaVu Sans"
actor User
participant "Wallenc UI" as UI
participant "OAuth клиент" as OAuth
participant "Яндекс OAuth" as Yandex
database "Room" as DB
User -> UI : Подключить облако
UI -> OAuth : Запрос авторизации
OAuth -> Yandex : Authorization request
Yandex -> User : Вход и согласие
User -> Yandex : Подтверждение
Yandex -> OAuth : Authorization code
OAuth -> Yandex : Обмен code на token
Yandex --> OAuth : access_token
OAuth -> DB : Сохранить DbYandexAccount
OAuth --> UI : Успех
UI --> User : Удалённые vault доступны
@enduml