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 {
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 {