I think you can find something like OAuth. OAuth has become a kind of βstandardβ when it comes to token authentication.
Here is some literature: http://tools.ietf.org/html/rfc5849
I found section 2.3. Token accounts , especially similar to what you talked about ...
The answer contains the following REQUIRED parameters:
oauth_token
The token identifier.
oauth_token_secret
The token shared-secret.
For instance:
HTTP/1.1 200 OK Content-Type: application/x-www-form-urlencoded oauth_token=j49ddk933skd9dks&oauth_token_secret=ll399dj47dskfjdk
It is also important to note that, in my opinion, authentication on tokens is more secure if all requests are made through an SSL connection. If not, third parties can seize and fake tokens. So yes, hopefully this is what you are looking for.
source share