Currently the OAuth 2.0 support is limited to the following grant types: password, client_credentials and refresh_token.
It will be useful to add support for AuthorisationCode grant and Implicit grant as well.