ordercloud-api / ordercloud-javascript-sdk

The official Javascript SDK for the OrderCloud eCommerce platform
MIT License
16 stars 15 forks source link

Add optional customRoles array to auth methods #70

Closed djsteinmetz closed 2 years ago

djsteinmetz commented 2 years ago

Add optional customRoles string array to authentication methods to support authentication with custom roles in addition to the standard ApiRoles.

This helps ease the transition of the role "InventoryAdmin" being removed from the API and now considered a custom role.