Title: Need a simple and documented way to set auth token · Issue #39 · ringcentral/ringcentral-python · GitHub
Open Graph Title: Need a simple and documented way to set auth token · Issue #39 · ringcentral/ringcentral-python
X Title: Need a simple and documented way to set auth token · Issue #39 · ringcentral/ringcentral-python
Description: The API Reference supports a "Try it out" feature which allows someone to copy-and-paste a code sample that just works. This system works well for cURL requests because the framework is able to insert the HTTP Bearer token directly into ...
Open Graph Description: The API Reference supports a "Try it out" feature which allows someone to copy-and-paste a code sample that just works. This system works well for cURL requests because the framework is able to ins...
X Description: The API Reference supports a "Try it out" feature which allows someone to copy-and-paste a code sample that just works. This system works well for cURL requests because the framework is a...
Opengraph URL: https://github.com/ringcentral/ringcentral-python/issues/39
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Need a simple and documented way to set auth token","articleBody":"The API Reference supports a \"Try it out\" feature which allows someone to copy-and-paste a code sample that just works. This system works well for cURL requests because the framework is able to insert the HTTP Bearer token directly into the \"code sample.\" However, we cannot do that with any specific language because there is not a clear/obvious way to initialize the client/SDK with an already-existant token.\r\n \r\n\u003cimg width=\"1155\" alt=\"Screen Shot 2019-08-26 at 5 51 56 PM\" src=\"https://user-images.githubusercontent.com/28429/63732683-3d0db180-c82a-11e9-931b-412e6b6c267d.png\"\u003e\r\n\r\nWe need a simple and single API call for getting the Bearer token in this SDK. Something to the effect of:\r\n\r\n\u003e sdk.platform().auth().setData(...)\r\n\r\nIf a capability like this already exists, then can we add that to the documentation?\r\n\r\nAcceptance criteria includes the very subjective criteria of the solution not feeling like a \"hack.\" It should not feel like the developer is going into set the value via a backdoor, but by setting it via a public and sanctioned manner. ","author":{"url":"https://github.com/byrnereese","@type":"Person","name":"byrnereese"},"datePublished":"2019-08-27T00:59:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/39/ringcentral-python/issues/39"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d8af20a7-7d6e-8fa2-8638-5258052461d7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA88:3140D:284D6F1:35E7A08:698D9F00 |
| html-safe-nonce | ede4815950c182289274380a1f62ebfef7cc6db168126328384cbd1a93fb810f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTg4OjMxNDBEOjI4NEQ2RjE6MzVFN0EwODo2OThEOUYwMCIsInZpc2l0b3JfaWQiOiIxNDk3Njc2MjMzNDIwMTUyNTc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2916b2d1536a37b16d3e440654520ea81cee215d1655ca070fcc271a5321e49b |
| hovercard-subject-tag | issue:485525194 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ringcentral/ringcentral-python/39/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1fe61515078e10c6855950f680ebf54a486b87976f9281a6f8a59ef01c6fc5a3/ringcentral/ringcentral-python/issues/39 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1fe61515078e10c6855950f680ebf54a486b87976f9281a6f8a59ef01c6fc5a3/ringcentral/ringcentral-python/issues/39 |
| og:image:alt | The API Reference supports a "Try it out" feature which allows someone to copy-and-paste a code sample that just works. This system works well for cURL requests because the framework is able to ins... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | byrnereese |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8c7947c0c592efeab6162b9909ad11fa43bff8b0cb5ff43273dc25e41979d43e |
| turbo-cache-control | no-preview |
| go-import | github.com/ringcentral/ringcentral-python git https://github.com/ringcentral/ringcentral-python.git |
| octolytics-dimension-user_id | 6549285 |
| octolytics-dimension-user_login | ringcentral |
| octolytics-dimension-repository_id | 31046360 |
| octolytics-dimension-repository_nwo | ringcentral/ringcentral-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31046360 |
| octolytics-dimension-repository_network_root_nwo | ringcentral/ringcentral-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0562b88b05bab6c9b1cf780b4a66b9334b3a602a |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width