This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AppengineFirebaseAuth { | |
private static final String APP_ID = "YOUR_APP_ID"; | |
public static AppengineFirebaseToken verifyIdToken(String token) { | |
Map<String, String> publicKeys = GooglePublicKeys.getKeys(); | |
for (String kid : publicKeys.keySet()) { | |
String publicKey = publicKeys.get(kid); |