Skip to content

Commit

Permalink
Add PlantUML diagram for session, user, client, and token relationships
Browse files Browse the repository at this point in the history
  • Loading branch information
gem-cp committed Nov 6, 2024
1 parent a26c69f commit ed5a9df
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/plantuml/db_entity_relation.puml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ed5a9df

Please sign in to comment.