From 6966151bed8d2b9573910b3822cdee48f66eb37e Mon Sep 17 00:00:00 2001 From: jianglai Date: Wed, 12 Dec 2018 11:23:57 -0800 Subject: [PATCH] Remove Google-internal auth mechanism Nomulus tool will be using OAuth to communicate to GAE endpoints exclusively starting with next week's release. As far as I can tell that is the only part of the system that uses Google-internal auth). We can therefore remove the it after next week's release. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=225221102 --- java/google/registry/request/auth/AuthModule.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/java/google/registry/request/auth/AuthModule.java b/java/google/registry/request/auth/AuthModule.java index e2022cd7b..21d78db71 100644 --- a/java/google/registry/request/auth/AuthModule.java +++ b/java/google/registry/request/auth/AuthModule.java @@ -30,8 +30,7 @@ public class AuthModule { @Provides ImmutableList provideApiAuthenticationMechanisms( OAuthAuthenticationMechanism oauthAuthenticationMechanism) { - return ImmutableList.of( - oauthAuthenticationMechanism); + return ImmutableList.of(oauthAuthenticationMechanism); } /** Provides the OAuthService instance. */