@@ -75,7 +75,7 @@ public B httpTransport(HttpTransport httpTransport) {
7575 return self ();
7676 }
7777
78- public B authConfig (AuthCredentials authCredentials ) {
78+ public B authCredentials (AuthCredentials authCredentials ) {
7979 this .authCredentials = authCredentials ;
8080 return self ();
8181 }
@@ -89,7 +89,7 @@ public B retryParams(RetryParams retryParams) {
8989 protected ServiceOptions (Builder <?> builder ) {
9090 host = firstNonNull (builder .host , DEFAULT_HOST );
9191 httpTransport = firstNonNull (builder .httpTransport , defaultHttpTransport ());
92- authCredentials = firstNonNull (builder .authCredentials , defaultAuthConfig ());
92+ authCredentials = firstNonNull (builder .authCredentials , defaultAuthCredentials ());
9393 retryParams = builder .retryParams ;
9494 }
9595
@@ -111,7 +111,7 @@ private static HttpTransport defaultHttpTransport() {
111111 return new NetHttpTransport ();
112112 }
113113
114- public static AuthCredentials defaultAuthConfig () {
114+ private static AuthCredentials defaultAuthCredentials () {
115115 // Consider App Engine. This will not be needed once issue #21 is fixed.
116116 if (appEngineAppId () != null ) {
117117 try {
@@ -183,7 +183,7 @@ public HttpTransport httpTransport() {
183183 return httpTransport ;
184184 }
185185
186- public AuthCredentials authConfig () {
186+ public AuthCredentials authCredentials () {
187187 return authCredentials ;
188188 }
189189
@@ -192,7 +192,7 @@ public RetryParams retryParams() {
192192 }
193193
194194 public HttpRequestInitializer httpRequestInitializer () {
195- return authConfig ().httpRequestInitializer (httpTransport , scopes ());
195+ return authCredentials ().httpRequestInitializer (httpTransport , scopes ());
196196 }
197197
198198 public abstract Builder <?> toBuilder ();
0 commit comments