We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bae31aa commit 016b022Copy full SHA for 016b022
src/app-check/app-check-api-client-internal.ts
@@ -73,6 +73,11 @@ export class AppCheckApiClient {
73
'invalid-argument',
74
'`customToken` must be a non-empty string.');
75
}
76
+ if (typeof limitedUse !== 'undefined' && !validator.isBoolean(limitedUse)) {
77
+ throw new FirebaseAppCheckError(
78
+ 'invalid-argument',
79
+ '`limitedUse` must be a boolean value.');
80
+ }
81
return this.getUrl(appId)
82
.then((url) => {
83
const request: HttpRequestConfig = {
0 commit comments