Commit graph

7 commits

Author SHA1 Message Date
Simon Goller
bd887cfd7b Add endpoint to get sales_person for current user 2024-06-12 12:04:41 +02:00
Simon Goller
764faa6e6b Use rest-types to export TOs to the frontend 2024-06-06 08:29:56 +02:00
Simon Goller
3c670d50d3 Use OIDC username 2024-06-05 18:00:05 +02:00
Simon Goller
ed609cf06c Cargo clippy and cargo fmt 2024-05-09 15:00:50 +02:00
Simon Goller
b0000c0117 Wrap Context with Autentication enum
Context should contain information which is required to get
the information if the service call is authenticated.  Context
could be the username for example.  But services call other
services internally and for this, authentication must not be
checked.  In this case, they can now pass Authentication::Full
which always successfully authenticates.
2024-05-09 14:58:19 +02:00
Simon Goller
bf94ec33de Basic rest implementation for connecting user to sales-person 2024-05-09 14:16:47 +02:00
Simon Goller
8efc3843ad Add sales-person REST service 2024-05-06 15:15:47 +02:00