Пример #1
0
        private void AddBroker(PublicClientApplicationBuilder builder)
        {
#if (NETFRAMEWORK)
            builder.WithWindowsBroker();
#else
            builder.WithBroker();
#endif
        }
        private static PublicClientApplicationBuilder ToggleOldBroker(PublicClientApplicationBuilder builder, bool enable)
        {
#if NETCOREAPP3_1
            builder = builder.WithWindowsBroker(enable);
#else
            builder = builder.WithBroker(enable);
#endif
            return(builder);
        }