From ec158c8725e2bc0ef9696c6532525ab6b4962c56 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Sat, 13 Jun 2020 19:01:54 -0700 Subject: [PATCH] fix(types): add locale property to idtoken --- src/auth/loginticket.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/auth/loginticket.ts b/src/auth/loginticket.ts index 1a86d2ca..ab4208bf 100644 --- a/src/auth/loginticket.ts +++ b/src/auth/loginticket.ts @@ -179,4 +179,10 @@ export interface TokenPayload { * a hosted domain. */ hd?: string; + + /** + * The user's locale, represented by a BCP 47 language tag. + * Might be provided when a name claim is present. + */ + locale?: string; }