As I understand from the rest API module REST plugin module (atlassian.com), for a plugin to be accessible via basic auth, we don't have to do much, all plugins are kept private behind the credentials, if you try to hit the end point you will get a 401. But what about Oauth1, do we have to code anything special to allow oauth1, or we will be able to contact the plugin out of the box for Oauth1. Also , any documentation link for how the authentication mechanism is implemented will be of help.