diff --git a/src/providers/auth.ts b/src/providers/auth.ts index fcc612e76..fec895e89 100644 --- a/src/providers/auth.ts +++ b/src/providers/auth.ts @@ -59,9 +59,15 @@ export const service = 'firebaseauth.googleapis.com'; * @public */ export interface UserOptions { + /** Options to set configuration at the resource level for blocking functions. */ blockingOptions?: { + /** Pass the ID Token credential to the function. */ idToken?: boolean; + + /** Pass the Access Token credential to the function. */ accessToken?: boolean; + + /** Pass the Refresh Token credential to the function. */ refreshToken?: boolean; }; } diff --git a/src/v2/providers/identity.ts b/src/v2/providers/identity.ts index b101a8194..e924b0cd7 100644 --- a/src/v2/providers/identity.ts +++ b/src/v2/providers/identity.ts @@ -23,8 +23,13 @@ interface InternalOptions { * All function options plus idToken, accessToken, and refreshToken. */ export interface BlockingOptions { + /** Pass the ID Token credential to the function. */ idToken?: boolean; + + /** Pass the Access Token credential to the function. */ accessToken?: boolean; + + /** Pass the Refresh Token credential to the function. */ refreshToken?: boolean; /**