Added ClientCredentials grant
Validate all client credentials
Anal restyle
Spelling fix
Variable name fix
Function name fix