Can I make use of the mendix system user and associated token information entities for securing a REST API ?

0
Can I make use of the mendix system user and associated token information entities for securing a REST API ?       Thanks
asked
1 answers
0

Hello Marcian,

I think we’ll need a little more info what you mean by “securing” here.

Generally speaking, the %CurrentUser variable can be accessed throughout your app for a number of security needs. If you’re looking to either pass that user(or some attribute of it) as an authorization token or check the token prior to being able to run the API, yes both of those functions should be available to you in the microflow running then REST.

answered