Username-Password Flow Sample
The username-password authentication flow can be used to authenticate when the consumer already has the user’s credentials.
The application uses the user’s username and password to request an access token.
This is done via an out-of-band POST request to the appropriate token request endpoint.