For code that you can use to authenticate REST API requests, see the SDK for your language: