Update KeycloakTokenParsed definition.

To match KeycloakInstance's realm access and resources access.
This commit is contained in:
kuan 2019-06-29 13:22:07 +08:00 committed by Stan Silvert
parent 67eb0c3079
commit 1c5f7c1420

View file

@ -238,8 +238,8 @@ declare namespace Keycloak {
nonce?: string; nonce?: string;
sub?: string; sub?: string;
session_state?: string; session_state?: string;
realm_access?: { roles: string[] }; realm_access?: KeycloakRoles;
resource_access?: string[]; resource_access?: KeycloakResourceAccess;
} }
interface KeycloakResourceAccess { interface KeycloakResourceAccess {