---
# System prepended metadata

title: Untitled

---

---
Request Token
---
# Sequence Diagram Request Token
```plantuml
@startuml
actor "user" as actor1
participant "brifast-brc" as brifast_brc
participant "brifast" as brifast
database "db-brc" as db_brc

actor1 -> brifast_brc : [POST] /requestToken
alt config == brifast
brifast_brc -> brifast : [POST] /Webservice/brifastService/requestToken
brifast -> brifast_brc : response token
brifast -> db_brc : store token
end

brifast_brc -> brifast_brc : generate token
brifast_brc -> db_brc : store token with exp 5 minutes
brifast_brc -> actor1 : send token
```