public MultiTargetBearerJwtTokenHandler(GetSubscriptionId getSubscriptionId) { _getSubscriptionId = getSubscriptionId; }
public MultiTargetBearerJwtTokenHandler(IDictionary <string, string> targetSubscriptionMapping) { _getSubscriptionId = id => targetSubscriptionMapping.TryGetValue(id.ToString(), out string subId) ? subId : null; }