Authorizaton code grant type is used to obtain both access tokens and refresh tokens and is optimized for confidential clients.
oauthImplicit = 1
oauthImplicit
A simplified authorization code flow optimized for clients implemented in a browser using a scripting language such as JavaScript; the client is issued an access token directly.
oauthResourceOwnerPassword = 2
oauthResourceOwnerPassword
This authorization grant type should only be used when there is a high level of trust between the resource owner and a client, and other grant types are not available.
oauthClientCredentials = 3
oauthClientCredentials
Client authentification can be used as an authorization grant when the authorization scope is limited to the protected resources under the control of the client, or to protected resources previously arranged with the authorization server.