PagerDuty / pdpyras

Low-level PagerDuty REST/Events API client for Python
MIT License
129 stars 29 forks source link

Add support for OAuth and Bearer token type #23

Closed Deconstrained closed 4 years ago

Deconstrained commented 4 years ago

See:

https://v2.developer.pagerduty.com/docs/oauth-2-functionality-client-secret

This may require a child class of APISession, unless the client_secret is formatted in such a way that it is always distinguishable from REST API tokens.