Recommended use
...
Instead of redirecting the user to the authorization server, the client itself will ask the user for the resource owner's username and password. The client will then send these credentials to the authorisation server along with the client’s own credentials.
The diagram below illustrates the resource owner password credentials grant flow.
Support for refresh token grant - Yes
The cURL commands below can be used to try this grant type.
...