From ed5a9df387e4fdb3e3c07a73e8023a8d316f8611 Mon Sep 17 00:00:00 2001 From: gem-cp Date: Wed, 6 Nov 2024 14:47:42 +0100 Subject: [PATCH] Add PlantUML diagram for session, user, client, and token relationships --- src/plantuml/db_entity_relation.puml | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/plantuml/db_entity_relation.puml diff --git a/src/plantuml/db_entity_relation.puml b/src/plantuml/db_entity_relation.puml new file mode 100644 index 0000000..4598ae7 --- /dev/null +++ b/src/plantuml/db_entity_relation.puml @@ -0,0 +1,35 @@ +@startuml "Beziehungen zwischen Session-, Nutzer- und Client-Daten sowie Token" + +entity "Session" as Session { + * accesstoken_jti : String + * refreshtoken_jti : String + * subject : String + * client_id : String + ... +} + +entity "User" as User { + * subject : String + ... +} + +entity "Client" as Client { + * client_id : String + ... +} + +entity "Access Token" as AccessToken { + * jti : String + ... +} + +entity "Refresh Token" as RefreshToken { + * jti : String + ... +} + +Session -- AccessToken : "accesstoken_jti ↔ jti" +Session -- RefreshToken : "refreshtoken_jti ↔ jti" +Session -- User : "subject ↔ subject" +Session -- Client : "client_id ↔ client_id" +@enduml