You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewError("parameter credentials cannot be null");
41
32
}
42
-
if(!scopes||scopes.length===0){
43
-
thrownewError("scopes cannot be null or empty");
33
+
if(!scopes){
34
+
thrownewError("scopes cannot be null");
44
35
}
45
36
if(!observabilityOptions){
46
37
thrownewError("observabilityOptions cannot be null");
@@ -104,13 +95,44 @@ export class AzureIdentityAccessTokenProvider implements AccessTokenProvider {
104
95
if(decodedClaims){
105
96
(localOptionsasany).claims=decodedClaims;// the field is defined in a derived interface for some reason https://github.com/Azure/azure-sdk-for-js/blob/4498fecbede71563fee5daae2ad537ff57de3640/sdk/identity/identity/src/msal/credentials.ts#L29
0 commit comments