// Add safe-auth:// in encoded auth request public static string UrlFormat(AppInfo appInfo, string encodedString, bool toAuthenticator) { var scheme = toAuthenticator ? "safe-auth" : $"{appInfo.Id}"; return($"{scheme}://{encodedString}"); }
public BrowserAuth(AppInfo appInfo, bool inMem = true) : base(appInfo, inMem) { }
public static void WinDesktopUseBrowserAuth(AppInfo appInfo, string appPath) => BrowserAuthHelpers.RegisterAppProtocol(appInfo, appPath);
public CredentialAuth(AppInfo appInfo, bool inMem = true) : base(appInfo, inMem) { }