This repository has been archived on 2026-03-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
keycloak-theme/keycloak-themes/keycloak.v2/account/resources/content/my-resources-page/resource-model.js
T
2024-02-22 09:47:34 +01:00

14 lines
321 B
JavaScript

export class Scope {
constructor(name, displayName) {
this.name = name;
this.displayName = displayName;
}
toString() {
if (this.hasOwnProperty('displayName') && this.displayName) {
return this.displayName;
} else {
return this.name;
}
}
}
//# sourceMappingURL=resource-model.js.map