KEYCLOAK-16426 add attributes to keycloak.d.ts

This commit is contained in:
maito1201 2020-10-15 23:37:34 +09:00 committed by Bruno Oliveira da Silva
parent cdfe29d1e3
commit f9fdee0fba

View file

@ -308,13 +308,23 @@ declare namespace Keycloak {
} }
interface KeycloakTokenParsed { interface KeycloakTokenParsed {
acr?: string;
aud?: string;
auth_time?: number;
azp?: string;
email_varified?: boolean;
exp?: number; exp?: number;
iat?: number; iat?: number;
iss?: string;
jti?: string;
nonce?: string; nonce?: string;
sub?: string; preferred_username?: string;
session_state?: string;
realm_access?: KeycloakRoles; realm_access?: KeycloakRoles;
resource_access?: KeycloakResourceAccess; resource_access?: KeycloakResourceAccess;
scope?: string;
session_state?: string;
sub?: string;
typ?: string;
} }
interface KeycloakResourceAccess { interface KeycloakResourceAccess {