Currently the payload passed as the second argument to `drupalkit.simpleOauth.requestToken()` is used 1:1 in the acutal request made to drupal. The payload should: - [ ] be validated to allow only valid grant payload values - [ ] have it's properties renamed to follow camelCase style to increase consistency with the rest of drupalkit
Currently the payload passed as the second argument to
drupalkit.simpleOauth.requestToken()is used 1:1 in the acutal request made to drupal.The payload should: