I am using a REST API that uses oauth for authentication. When registering for the service I was given my API Consumer Key and my API Shared Secret. I've been simply hardcoding the Shared Secret into my Application code and compiling it.
Is this the best way to manage a Shared Secret? That is, are there any security implications? Should this be encrypted in some way? What are the best practices for managing this Shared Secret?