You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`secretKey`| string |**Required.** Google recaptcha secret key |
42
-
|`response`| (request) => string |**Required.** Function that returns response (recaptcha token) by request |
43
-
|`skipIf`| boolean \| (request) => boolean \| Promise\<boolean\>| Optional. Function that returns true if you allow the request to skip the recaptcha verification. Useful for involing other check methods (e.g. custom privileged API key) or for development or testing |
44
-
|`useRecaptchaNet`| boolean | Optional. If your server has trouble connecting to https://www.google.com. You can use https://recaptcha.net instead, just set true |
45
-
|`agent`| https.Agent | Optional. If you need to use an agent |
46
-
39
+
| Property | Description |
40
+
|-------------------|-------------|
41
+
|`secretKey`|**Required.**<br> Type: `string`<br> Google recaptcha secret key |
42
+
|`response`|**Required.**<br> Type: `(request) => string`<br> Function that returns response (recaptcha token) by request |
43
+
|`skipIf`| Optional.<br> Type: `boolean`\|`(request) => boolean \| Promise<boolean>` <br> Function that returns true if you allow the request to skip the recaptcha verification. Useful for involing other check methods (e.g. custom privileged API key) or for development or testing |
44
+
|`useRecaptchaNet`| Optional.<br> Type: `boolean`<br> If your server has trouble connecting to https://www.google.com. You can use https://recaptcha.net instead, just set true |
45
+
|`agent`| Optional.<br> Type: `https.Agent`<br> If you need to use an agent |
47
46
48
47
If you want import configs from your [ConfigService](https://docs.nestjs.com/techniques/configuration#getting-started) via [custom getter function](https://docs.nestjs.com/techniques/configuration#custom-getter-functions) that will return `GoogleRecaptchaModuleOptions` object.
0 commit comments