consilience / xero-api-client

API package for Xero API access, based on Xero OpenAPI specs, PSR-7, PSR-15, PSR-18
MIT License
3 stars 0 forks source link

Convert Oauth details to snake case #14

Open bradydan opened 4 years ago

bradydan commented 4 years ago

Fix Xero API client to accept either camelCase format, etc, and convert it automatically to convert to snake case if it needs to.

See: https://github.com/consilience/csi-provisioning/issues/53

And see Xero docs: https://developer.xero.com/documentation/auth-and-limits/oauth-issues

judgej commented 4 years ago

This is referring to passing the auth token details as an array into the Token object during instantiation.