From f9fdee0fba2f202183f194c6a96f6a09c153c688 Mon Sep 17 00:00:00 2001 From: maito1201 Date: Thu, 15 Oct 2020 23:37:34 +0900 Subject: [PATCH] KEYCLOAK-16426 add attributes to keycloak.d.ts --- adapters/oidc/js/src/main/resources/keycloak.d.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/adapters/oidc/js/src/main/resources/keycloak.d.ts b/adapters/oidc/js/src/main/resources/keycloak.d.ts index 03669b9dfd..00ebd4af95 100644 --- a/adapters/oidc/js/src/main/resources/keycloak.d.ts +++ b/adapters/oidc/js/src/main/resources/keycloak.d.ts @@ -308,13 +308,23 @@ declare namespace Keycloak { } interface KeycloakTokenParsed { + acr?: string; + aud?: string; + auth_time?: number; + azp?: string; + email_varified?: boolean; exp?: number; iat?: number; + iss?: string; + jti?: string; nonce?: string; - sub?: string; - session_state?: string; + preferred_username?: string; realm_access?: KeycloakRoles; resource_access?: KeycloakResourceAccess; + scope?: string; + session_state?: string; + sub?: string; + typ?: string; } interface KeycloakResourceAccess {