Hi,
You can find an example of how to provide security configuration for your endpoints in this topic.