|
Repo Added
|
Files
134
|
Badge
README BADGES
|
github
chore: clean up skuclient Now that we're using the Track2 SDK for authentication, we don't need to periodically refresh the client. We know this is true because other clients using the same credential do not hit issues with token refresh. Additionally if we examine the ServicePrincipal credential we can see that it does support refresh: https://github.com/Azure/azure-sdk-for-go/blob/main/sdk/azidentity/client_secret_credential.go#L73 which calls GetToken() https://github.com/Azure/azure-sdk-for-go/blob/f0871996d/sdk/azidentity/confidential_client.go#L104 which calls AcquireTokenSilent() https://github.com/AzureAD/microsoft-authentication-library-for-go/blob/main/apps/confidential/confidential.go#L589 which handles refresh/expiry at https://github.com/AzureAD/microsoft-authentication-library-for-go/blob/main/apps/internal/base/base.go#L354
6 of 11 new or added lines in 4 files covered. (54.55%)
3 existing lines in 2 files now uncovered.55917 of 58532 relevant lines covered (95.53%)
0.97 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|