Returns a resource server's permission-to-attributes map, keeping only
the permissions it still exposes and the names the catalogue holds. A
value that does not parse is ignored with a warning, never costing an
issuance.
Parameters
application: any
the application's view, or null
exposed: string[]
the names of the permissions it exposes
Returns Record<string,string[]>
the map, canonically spelled; {} when it holds none
Returns a resource server's permission-to-attributes map, keeping only the permissions it still exposes and the names the catalogue holds. A value that does not parse is ignored with a warning, never costing an issuance.