GoogleCloudPlatform / ide-login

The plugins-login-common library for authenticating with the Google Cloud Platform shared by several IDE plugins including Google Cloud Tools for Eclipse, Google Cloud Tools for IntelliJ, and Android Studio.
Apache License 2.0
2 stars 9 forks source link

OAuth or Oauth #42

Open chanseokoh opened 7 years ago

chanseokoh commented 7 years ago

Turns out, there is a wide range of split opinions. Seems like no one is able to or wants to force a certain policy.

Upper camel: OAuthUser vs. OauthUser Lower camel: oAuthUser vs. oauthUser Constant: O_AUTH_USER vs. OAUTH_USER

elharo commented 7 years ago

I can't say there's a right or obvious answer here. Given that the protos are already using Oauth I propose we treat OAuth as a single word. Thus.

Oauth for class names and oauth for variable names would be the proper camel casing. It's at least consistent.