Builds the roles claim for a token or assertion: the configured roles the party holds, under roles.claimName.
roles.claimName
Built-in roles are never carried, and a party with no configured role gets no claim at all.
the security context, as for rolesOf()
rolesOf()
{ <claimName>: [roles] }, or null when the claim is off, empty or the register failed
{ <claimName>: [roles] }
Builds the roles claim for a token or assertion: the configured roles the party holds, under
roles.claimName.Built-in roles are never carried, and a party with no configured role gets no claim at all.