Example #1
0
        // 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}");
        }
Example #2
0
 public BrowserAuth(AppInfo appInfo, bool inMem = true)
     : base(appInfo, inMem)
 {
 }
Example #3
0
 public static void WinDesktopUseBrowserAuth(AppInfo appInfo, string appPath)
 => BrowserAuthHelpers.RegisterAppProtocol(appInfo, appPath);
Example #4
0
 public CredentialAuth(AppInfo appInfo, bool inMem = true)
     : base(appInfo, inMem)
 {
 }