From bf01ae0885b67a2bf98d33033553c32a83c7e7bd Mon Sep 17 00:00:00 2001 From: maito1201 Date: Sat, 2 Oct 2021 13:53:41 +0900 Subject: [PATCH] KEYCLOAK-16426 adapt signature to official spec --- .../oidc/js/src/main/resources/keycloak.d.ts | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/adapters/oidc/js/src/main/resources/keycloak.d.ts b/adapters/oidc/js/src/main/resources/keycloak.d.ts index 00ebd4af95..899f2ea7ef 100644 --- a/adapters/oidc/js/src/main/resources/keycloak.d.ts +++ b/adapters/oidc/js/src/main/resources/keycloak.d.ts @@ -308,23 +308,19 @@ declare namespace Keycloak { } interface KeycloakTokenParsed { - acr?: string; + iss?: string; + sub?: string; aud?: string; - auth_time?: number; - azp?: string; - email_varified?: boolean; exp?: number; iat?: number; - iss?: string; - jti?: string; + auth_time?: number; nonce?: string; - preferred_username?: string; + acr?: string; + amr?: string; + azp?: string; + session_state?: string; realm_access?: KeycloakRoles; resource_access?: KeycloakResourceAccess; - scope?: string; - session_state?: string; - sub?: string; - typ?: string; } interface KeycloakResourceAccess {