Skip to content

data security for different users #1261

Answered by Mimetis
truthz03 asked this question in Q&A
Discussion options

You must be logged in to vote

You have an example here : https://github.com/Mimetis/Dotmim.Sync/blob/master/Samples/HelloWebAuthSync/HelloWebAuthSyncServer/Controllers/SyncController.cs

In the controller, the user id extracted from the bearer token is used and injected as a paramter.
The code is in comments (for no reason, I 've probably made some tests and commit the modification, sorry about that) but it's a good starting point

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@truthz03
Comment options

@Mimetis
Comment options

Answer selected by truthz03
@truthz03
Comment options

@Mimetis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants