LokaliseAuth token valid code.cassette 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. [
  2. {
  3. "scope": "https://app.lokalise.com:443",
  4. "method": "POST",
  5. "path": "/oauth2/token",
  6. "body": {
  7. "client_id": "123abc",
  8. "client_secret": "456zyx",
  9. "code": "fdf9876214cffa10c6ebbb01bd2399077ba9c49e",
  10. "grant_type": "authorization_code"
  11. },
  12. "status": 200,
  13. "response": {
  14. "access_token": "stubbed access",
  15. "refresh_token": "stubbed refresh",
  16. "expires_in": 3600,
  17. "token_type": "Bearer"
  18. },
  19. "rawHeaders": [
  20. "Server",
  21. "nginx",
  22. "Date",
  23. "Tue, 08 Mar 2022 13:51:40 GMT",
  24. "Content-Type",
  25. "application/json",
  26. "Transfer-Encoding",
  27. "chunked",
  28. "Connection",
  29. "close",
  30. "Vary",
  31. "Accept-Encoding",
  32. "Expires",
  33. "Thu, 19 Nov 1981 08:52:00 GMT",
  34. "Cache-Control",
  35. "no-store, no-cache, must-revalidate",
  36. "Pragma",
  37. "no-cache",
  38. "Cache-Control",
  39. "max-age=0, must-revalidate, private",
  40. "X-Content-Type-Options",
  41. "nosniff",
  42. "X-Frame-Options",
  43. "deny",
  44. "X-XSS-Protection",
  45. "1; mode=block",
  46. "Strict-Transport-Security",
  47. "max-age=31536000",
  48. "Referrer-Policy",
  49. "origin",
  50. "X-Lokalise-Process-Id",
  51. "231c4e74-e147-42ab-ba24-3a756645818c",
  52. "pragma",
  53. "no-cache",
  54. "Expires",
  55. "Tue, 08 Mar 2022 13:51:40 GMT"
  56. ],
  57. "responseIsBinary": false
  58. }
  59. ]