class_diagram_about_authentication - nomlab/camome GitHub Wiki
認証とカレンダ周りのクラス図を以下に示す.
また,このクラスを用いた場合のカレンダの予定取得のフローは camome/issues/39に示す.
created by PlantUML
source
@startuml
together {
class GoogleCalendarProvider
class YahooCalendarProvider
class CalendarProvider
}
together {
class MasterAuthInfo
class YahooCalendarAuthInfo
class GoogleCalendarAuthInfo
}
together {
class User
class Calendar
class CalendarProvider
}
MasterAuthInfo --|> AuthInfo
Calendar "many" -- "1" User
User "1" -- "1" MasterAuthInfo
CalendarProvider .. User
Calendar "many" -- "1" CalendarProvider
GoogleCalendarProvider --|> CalendarProvider
YahooCalendarProvider --|> CalendarProvider
GoogleCalendarProvider "1" *-- "1" GoogleCalendarAuthInfo
YahooCalendarProvider "1" *-- "1" YahooCalendarAuthInfo
YahooCalendarAuthInfo --|> AuthInfo
GoogleCalendarAuthInfo --|> AuthInfo
@enduml