Title: Using the SDK in background tasks · Issue #42 · ringcentral/ringcentral-python · GitHub
Open Graph Title: Using the SDK in background tasks · Issue #42 · ringcentral/ringcentral-python
X Title: Using the SDK in background tasks · Issue #42 · ringcentral/ringcentral-python
Description: We are using OAuth 2.0 Authorization Code Flow and save tokens to our DB. We process webhooks that we receive from ringcentral in background tasks. Each time a background task is run, we have to initialise the SDK with authentication dat...
Open Graph Description: We are using OAuth 2.0 Authorization Code Flow and save tokens to our DB. We process webhooks that we receive from ringcentral in background tasks. Each time a background task is run, we have to in...
X Description: We are using OAuth 2.0 Authorization Code Flow and save tokens to our DB. We process webhooks that we receive from ringcentral in background tasks. Each time a background task is run, we have to in...
Opengraph URL: https://github.com/ringcentral/ringcentral-python/issues/42
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Using the SDK in background tasks","articleBody":"We are using OAuth 2.0 Authorization Code Flow and save tokens to our DB. \r\n\r\nWe process webhooks that we receive from ringcentral in background tasks.\r\n\r\nEach time a background task is run, we have to initialise the SDK with authentication data. Since `expire_time` and `refresh_token_expire_time` are calculated whenever auth data is being set, this will not work for us. \r\n\r\nIs there a way we can use the sdk for this use case?","author":{"url":"https://github.com/mangatinanda","@type":"Person","name":"mangatinanda"},"datePublished":"2020-08-13T14:30:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/42/ringcentral-python/issues/42"}
| 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:1a578e3a-897e-64fe-f74a-b9c2608ecb8a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C394:558C:CA29:10465:698E1705 |
| html-safe-nonce | a19e36f39f7ed13b11baf19d6bc48fc20efd45a7ac2da63a7fe78e08b4b65927 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzk0OjU1OEM6Q0EyOToxMDQ2NTo2OThFMTcwNSIsInZpc2l0b3JfaWQiOiI3NTg0MTczMDU2ODY1NDc0MzA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f8ac3473bd7d58ac83c7109474e774eae9122ed5d2e49f7e1f4fdf6a1ef4966e |
| hovercard-subject-tag | issue:678484519 |
| 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/42/issue_layout |
| twitter:image | https://opengraph.githubassets.com/323ef47057f8051dd938e575f985d49abfa06fbd1482d0c9e81a091a4541ed9d/ringcentral/ringcentral-python/issues/42 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/323ef47057f8051dd938e575f985d49abfa06fbd1482d0c9e81a091a4541ed9d/ringcentral/ringcentral-python/issues/42 |
| og:image:alt | We are using OAuth 2.0 Authorization Code Flow and save tokens to our DB. We process webhooks that we receive from ringcentral in background tasks. Each time a background task is run, we have to in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mangatinanda |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52130a026bd9a3f98228b6aa6af91acdab5d18de411e2c1e67e6253493561296 |
| 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 | 301a1d7743177dcb7528b1322117cdafeda8ff08 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width