ngx-keycloak-authz-lib
Version:
Bibliothèque d'authorisation Keycloak pour Angular
25 lines (24 loc) • 583 B
TypeScript
export interface KeycloakResourcePermission {
/**
* The id of a resource.
*/
rsid: string;
/**
* The name of a resource.
*/
rsname?: string;
/**
* An array of strings where each value is the name of a scope associated with the resource.
*/
scopes?: string[];
}
export interface KeycloakResourcePermissionsCheck {
/**
* The name of a resource to check permissions against.
*/
rsname: string;
/**
* Then name of a scope associated with the resource.
*/
scope?: string;
}