KEYCLOAK-16426 adapt signature to official spec

This commit is contained in:
maito1201 2021-10-02 13:53:41 +09:00 committed by Bruno Oliveira da Silva
parent f9fdee0fba
commit bf01ae0885

View file

@ -308,23 +308,19 @@ declare namespace Keycloak {
} }
interface KeycloakTokenParsed { interface KeycloakTokenParsed {
acr?: string; iss?: string;
sub?: string;
aud?: string; aud?: string;
auth_time?: number;
azp?: string;
email_varified?: boolean;
exp?: number; exp?: number;
iat?: number; iat?: number;
iss?: string; auth_time?: number;
jti?: string;
nonce?: string; nonce?: string;
preferred_username?: string; acr?: string;
amr?: string;
azp?: 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 {