svix-webhooks
svix-webhooks copied to clipboard
The C# library is missing the new app portal interface that supports the feature flags
Feature Request
Motivation
var svix = new SvixClient("AUTH_TOKEN", new SvixOptions("https://api.svix.com/"));
var dashboard = await svix.Authentication.AppPortalAccessAsync("app_Xzx8bQeOB1D1XEYmAJaRGoj0", new AppPortalAccessIn{
featureFlags: new string[] {"beta-feature-a"}
});
// A URL that automatically logs user into the dashboard
Console.WriteLine(dashboard.Url)
The SvixClient class has a property IAuthentication Authentication . However the IAuthentication interface does not have a method AppPortalAccessAsync.
It does have a method GetDashboardAccessAsync which works well, but does not allow to pass feature flags.