From c902896ab6b0930d2ef0808bc93d023150d68d0d Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Mon, 26 Aug 2019 17:33:11 +0200 Subject: [PATCH] KEYCLOAK-11196 Document the type for the `useNonce` option --- adapters/oidc/js/src/main/resources/keycloak.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/adapters/oidc/js/src/main/resources/keycloak.d.ts b/adapters/oidc/js/src/main/resources/keycloak.d.ts index ae41ce7b88..0f96e149a6 100644 --- a/adapters/oidc/js/src/main/resources/keycloak.d.ts +++ b/adapters/oidc/js/src/main/resources/keycloak.d.ts @@ -39,7 +39,9 @@ declare namespace Keycloak { interface KeycloakInitOptions { /** - * @private Undocumented. + * Adds a [cryptographic nonce](https://en.wikipedia.org/wiki/Cryptographic_nonce) + * to verify that the authentication response matches the request. + * @default true */ useNonce?: boolean;