microsoftgraph / microsoft-graph-explorer-v4

React/Redux version of Graph Explorer used to learn the Microsoft Graph Api
https://developer.microsoft.com/graph/graph-explorer
MIT License
202 stars 84 forks source link

refactor: use strong types in authentication module #3164

Closed musale closed 1 month ago

musale commented 1 month ago

Overview

Use strong types in src/modules/authentication. Closes #3187

Testing Instructions

Some stats

before

5 any counts in 2/10 files

AuthenticationWrapper.ts:4
msal-app.ts:1

after

authentication-error-hints.ts:0
AuthenticationWrapper.spec.ts:0
AuthenticationWrapper.ts:0
authUtils.spec.ts:0
authUtils.ts:0
ClaimsChallenge.ts:0
index.ts:0
interfaces/IAuthenticationWrapper.ts:0
interfaces/IClaimsChallenge.ts:0
msal-app.ts:0
ElinorW commented 1 month ago

This is really great! I suggest creating an issue under this main issue: https://github.com/microsoftgraph/microsoft-graph-explorer-v4/issues/2888 So that we can track the different areas being tackled

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud