Clean up some dead code and add a telemetry even to track classic microsoft auth usage (#248256)

So we can see how many people disable MSAL.
This commit is contained in:
Tyler James Leonhardt
2025-05-06 15:36:17 -07:00
committed by GitHub
parent fa00def553
commit 690d2be258
2 changed files with 9 additions and 3 deletions

View File

@@ -35,6 +35,13 @@ export class MicrosoftAuthenticationTelemetryReporter implements IExperimentatio
);
}
sendActivatedWithClassicImplementationEvent(): void {
/* __GDPR__
"activatingClassic" : { "owner": "TylerLeonhardt", "comment": "Used to determine how often users use the classic login flow." }
*/
this._telemetryReporter.sendTelemetryEvent('activatingClassic');
}
sendLoginEvent(scopes: readonly string[]): void {
/* __GDPR__
"login" : {