Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 0586bc3

Browse files
committed
fix format
1 parent 8f5e57f commit 0586bc3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

UserDetailsClient/UserDetailsClient.Core/Features/LogOn/B2CAuthenticationService.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ private async Task<UserContext> AcquireTokenSilent()
6565
{
6666
IEnumerable<IAccount> accounts = await _pca.GetAccountsAsync();
6767
AuthenticationResult authResult = await _pca.AcquireTokenSilent(B2CConstants.Scopes, GetAccountByPolicy(accounts, B2CConstants.PolicySignUpSignIn))
68-
.WithB2CAuthority(B2CConstants.AuthoritySignInSignUp)
69-
68+
.WithB2CAuthority(B2CConstants.AuthoritySignInSignUp)
7069
.ExecuteAsync();
7170

7271
var newContext = UpdateUserInfo(authResult);
@@ -106,7 +105,6 @@ private async Task<UserContext> SignInInteractively()
106105

107106
AuthenticationResult authResult = await _pca.AcquireTokenInteractive(B2CConstants.Scopes)
108107
.WithAccount(GetAccountByPolicy(accounts, B2CConstants.PolicySignUpSignIn))
109-
//.WithUseEmbeddedWebView(true)
110108
.ExecuteAsync();
111109

112110
var newContext = UpdateUserInfo(authResult);

0 commit comments

Comments
 (0)