From deb8dfc2ce0ae4ba6b0e7a0142fbc99acdb8f42c Mon Sep 17 00:00:00 2001 From: ranette832-ux Date: Sat, 31 Jan 2026 01:20:51 -0600 Subject: [PATCH] Update README with Firebase ID token verification Added Firebase ID token verification example to README. Signed-off-by: ranette832-ux --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 37bc8abaa..e22219037 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,12 @@ -# Helm +# Helmtry { + FirebaseAuth.getInstance().verifyIdToken(idToken, true); +} catch (FirebaseAuthException ex) { + if (ex.getAuthErrorCode() == AuthErrorCode.REVOKED_ID_TOKEN) { + System.err.println("ID token has been revoked"); + } else { + System.err.println("ID token is invalid"); + } +} [![Build Status](https://github.com/helm/helm/workflows/release/badge.svg)](https://github.com/helm/helm/actions?workflow=release) [![Go Report Card](https://goreportcard.com/badge/helm.sh/helm/v4)](https://goreportcard.com/report/helm.sh/helm/v4)