{"_id":"56326ea3df556c0d00cd08f6","__v":1,"category":{"_id":"56326e9ddf556c0d00cd08cc","__v":1,"project":"544fc17e698ab40800b4f891","version":"56326e9cdf556c0d00cd08ca","pages":["56326ea3df556c0d00cd08f6","56326ea3df556c0d00cd08f7","56326ea3df556c0d00cd08f8"],"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-01T05:42:46.293Z","from_sync":false,"order":1,"slug":"authentication","title":"Authentication"},"githubsync":"","parentDoc":null,"project":"544fc17e698ab40800b4f891","user":"544fc065698ab40800b4f888","version":{"_id":"56326e9cdf556c0d00cd08ca","project":"544fc17e698ab40800b4f891","__v":4,"createdAt":"2015-10-29T19:08:12.724Z","releaseDate":"2015-10-29T19:08:12.724Z","categories":["56326e9ddf556c0d00cd08cb","56326e9ddf556c0d00cd08cc","56326e9ddf556c0d00cd08cd","56326e9ddf556c0d00cd08ce","56326e9ddf556c0d00cd08cf","56326e9ddf556c0d00cd08d0","56326e9ddf556c0d00cd08d1","56326e9ddf556c0d00cd08d2","56326e9ddf556c0d00cd08d3","56326e9ddf556c0d00cd08d4","56d942ac337fd11300d6a251","5ab2fcf66a1d77001230b47e","5afc2943bd2ef4000330bca7"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"collector","version_clean":"2.1.0","version":"2.1"},"updates":["55e00d886bad670d0081f18f","5aa2f7418807350081fc6bf8"],"next":{"pages":[],"description":""},"createdAt":"2015-05-01T09:01:57.826Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"You can use either HMAC or OAuth to authenticate with the coins API. Both authentication methods work with all functionalities of the API, and both honor the scopes defined in the Application Client.\n\n* [HMAC](doc:hmac) - HMAC requests are executed using the developer's account.\n* [OAuth2](doc:oauth) - OAuth2 uses the application user's account to execute requests.\n\nPick one authentication method depending on the needs of your application. These methods should not be combined. In the event where both OAuth and HMAC authorization are used in a single request, HMAC authorization will take precedence.","excerpt":"","slug":"choosing-an-authentication-method","type":"basic","title":"Choosing an Authentication method"}

Choosing an Authentication method


You can use either HMAC or OAuth to authenticate with the coins API. Both authentication methods work with all functionalities of the API, and both honor the scopes defined in the Application Client. * [HMAC](doc:hmac) - HMAC requests are executed using the developer's account. * [OAuth2](doc:oauth) - OAuth2 uses the application user's account to execute requests. Pick one authentication method depending on the needs of your application. These methods should not be combined. In the event where both OAuth and HMAC authorization are used in a single request, HMAC authorization will take precedence.