Commit b6e6d1a 1 parent 4fc863a commit b6e6d1a Copy full SHA for b6e6d1a
File tree 1 file changed +0
-18
lines changed
oauth2_http/java/com/google/auth/oauth2
1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 44
44
import com .google .api .client .json .JsonObjectParser ;
45
45
import com .google .api .client .util .GenericData ;
46
46
import com .google .auth .CredentialTypeForMetrics ;
47
- import com .google .auth .Credentials ;
48
47
import com .google .auth .ServiceAccountSigner ;
49
48
import com .google .auth .http .HttpCredentialsAdapter ;
50
49
import com .google .auth .http .HttpTransportFactory ;
@@ -502,17 +501,6 @@ public String getUniverseDomain() throws IOException {
502
501
return this .sourceCredentials .getUniverseDomain ();
503
502
}
504
503
505
- @ Override
506
- boolean isDefaultUniverseDomain () {
507
- try {
508
- return getUniverseDomain ().equals (Credentials .GOOGLE_DEFAULT_UNIVERSE );
509
- } catch (IOException e ) {
510
- // super method does not throw IOException, so wrap it here.
511
- // This should not happen for this credential type.
512
- throw new IllegalStateException (e );
513
- }
514
- }
515
-
516
504
@ Override
517
505
public AccessToken refreshAccessToken () throws IOException {
518
506
if (this .sourceCredentials .getAccessToken () == null ) {
@@ -789,12 +777,6 @@ public Calendar getCalendar() {
789
777
return this .calendar ;
790
778
}
791
779
792
- @ Override
793
- public Builder setUniverseDomain (String universeDomain ) {
794
- super .setUniverseDomain (universeDomain );
795
- return this ;
796
- }
797
-
798
780
@ Override
799
781
public ImpersonatedCredentials build () {
800
782
try {
You can’t perform that action at this time.
0 commit comments