grant types configurable

add ability to configure handling of grant types