static App() { PublicClientApp = PublicClientApplicationBuilder.Create(ClientId) .WithB2CAuthority(AuthoritySignUpSignIn) .WithRedirectUri("http://localhost") .WithLogging(Log, LogLevel.Info, false) // don't log P(ersonally) I(dentifiable) I(nformation) details on a regular basis .Build(); TokenCacheHelper.Bind(PublicClientApp.UserTokenCache); }
static App() { PublicClientApp = PublicClientApplicationBuilder.Create(ClientId) .WithB2CAuthority(AuthoritySignUpSignIn) .WithRedirectUri(RedirectUri) .WithLogging(Log, LogLevel.Info, false) // don't log PII details on a regular basis .Build(); TokenCacheHelper.Bind(PublicClientApp.UserTokenCache); }