Skip to content
Prev Previous commit
update recaptcha key type
  • Loading branch information
Xiaoshouzi-gh committed Apr 12, 2023
commit ca3c8188ea1842c98fb201326d06859945fd4ff6
2 changes: 1 addition & 1 deletion etc/firebase-admin.auth.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ export interface RecaptchaKey {
}

// @public
export type RecaptchaKeyClientType = 'WEB';
export type RecaptchaKeyClientType = 'WEB' | 'IOS' | 'ANDROID';

// @public
export interface RecaptchaManagedRule {
Expand Down
4 changes: 2 additions & 2 deletions src/auth/auth-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1751,9 +1751,9 @@ export interface RecaptchaManagedRule {
}

/**
* The key's platform type: only web is currently supported.
* The key's platform type.
*/
export type RecaptchaKeyClientType = 'WEB';
export type RecaptchaKeyClientType = 'WEB' | 'IOS' | 'ANDROID';

/**
* The reCAPTCHA key config.
Expand Down