Method GetEffectiveRolesAsync(long, IEnumerable<long>, long?, CancellationToken)
Effective role set for a user at token issuance time:
direct user assignments ∪ assignments inherited from every group
the user belongs to. Filtered by audience and applicationId so an
audience='application' role bound to app A doesn't leak into a
token issued for app B.
public Task<List<RedbObject<RoleProps>>> GetEffectiveRolesAsync(long userId, IEnumerable<long> groupIds, long? applicationId, CancellationToken ct = default)