File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/main/java/com/microsoft/sqlserver/jdbc Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 2121import javax .crypto .spec .SecretKeySpec ;
2222
2323import com .azure .core .credential .AccessToken ;
24- import com .azure .core .credential .TokenCredential ;
2524import com .azure .core .credential .TokenRequestContext ;
2625import com .azure .identity .ManagedIdentityCredential ;
2726import com .azure .identity .ManagedIdentityCredentialBuilder ;
@@ -487,7 +486,7 @@ private static String[] getAdditonallyAllowedTenants() {
487486 return null ;
488487 }
489488
490- private static TokenCredential getCredentialFromCache (String key ) {
489+ private static Object getCredentialFromCache (String key ) {
491490 Credential credential = CREDENTIAL_CACHE .get (key );
492491
493492 if (null != credential ) {
@@ -498,9 +497,9 @@ private static TokenCredential getCredentialFromCache(String key) {
498497 }
499498
500499 private static class Credential {
501- TokenCredential tokenCredential ;
500+ Object tokenCredential ;
502501
503- public Credential (TokenCredential tokenCredential ) {
502+ public Credential (Object tokenCredential ) {
504503 this .tokenCredential = tokenCredential ;
505504 }
506505 }
You can’t perform that action at this time.
0 commit comments