Remove test code
This commit is contained in:
@@ -90,8 +90,6 @@ public class OutlookAuthenticator : BaseAuthenticator, IOutlookAuthenticator
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
throw new MsalUiRequiredException("test", "test2");
|
|
||||||
|
|
||||||
var authResult = await _publicClientApplication.AcquireTokenSilent(Scope, storedAccount).ExecuteAsync();
|
var authResult = await _publicClientApplication.AcquireTokenSilent(Scope, storedAccount).ExecuteAsync();
|
||||||
|
|
||||||
return new TokenInformationEx(authResult.AccessToken, authResult.Account.Username);
|
return new TokenInformationEx(authResult.AccessToken, authResult.Account.Username);
|
||||||
|
|||||||
Reference in New Issue
Block a user