on 03-10-2021 1:29 PM
Hi team,
According to the document, we can use some variable for authentication. like: link
{grant:'READ',where:'buyer=$user'}
My question is: could I watch the value in the variable when debug? or any other method could print the value in the $user.
Thanks.
You can check the user information in the "user" object added to the request object (e.g. req.user.id provides the user id). For details please check the documentation here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.