public class com.microsoft.azure.credentials.MSICredentials extends com.microsoft.azure.credentials.AzureTokenCredentials
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.microsoft.azure.credentials.MSICredentials
  super_class: com.microsoft.azure.credentials.AzureTokenCredentials
{
  private final java.util.List<java.lang.Integer> retrySlots;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Ljava/lang/Integer;>;

  private int maxRetry;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int customTimeout;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private final java.util.concurrent.locks.Lock lock;
    descriptor: Ljava/util/concurrent/locks/Lock;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.ConcurrentHashMap<java.lang.String, com.microsoft.azure.credentials.MSIToken> cache;
    descriptor: Ljava/util/concurrent/ConcurrentHashMap;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/ConcurrentHashMap<Ljava/lang/String;Lcom/microsoft/azure/credentials/MSIToken;>;

  private final java.lang.String resource;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private int msiPort;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private final com.microsoft.azure.credentials.MSICredentials$MSITokenSource tokenSource;
    descriptor: Lcom/microsoft/azure/credentials/MSICredentials$MSITokenSource;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final com.microsoft.azure.serializer.AzureJacksonAdapter adapter;
    descriptor: Lcom/microsoft/azure/serializer/AzureJacksonAdapter;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.lang.String objectId;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String clientId;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String identityId;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.microsoft.azure.credentials.MSICredentials this
         0: .line 55
            aload 0 /* this */
            getstatic com.microsoft.azure.AzureEnvironment.AZURE:Lcom/microsoft/azure/AzureEnvironment;
            invokespecial com.microsoft.azure.credentials.MSICredentials.<init>:(Lcom/microsoft/azure/AzureEnvironment;)V
         1: .line 56
            return
        end local 0 // com.microsoft.azure.credentials.MSICredentials this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/microsoft/azure/credentials/MSICredentials;

  public void <init>(com.microsoft.azure.AzureEnvironment);
    descriptor: (Lcom/microsoft/azure/AzureEnvironment;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=2, args_size=2
        start local 0 // com.microsoft.azure.credentials.MSICredentials this
        start local 1 // com.microsoft.azure.AzureEnvironment environment
         0: .line 64
            aload 0 /* this */
            aload 1 /* environment */
            aconst_null
            invokespecial com.microsoft.azure.credentials.AzureTokenCredentials.<init>:(Lcom/microsoft/azure/AzureEnvironment;Ljava/lang/String;)V
         1: .line 36
            aload 0 /* this */
            new java.util.ArrayList
            dup
            bipush 20
            anewarray java.lang.Integer
            dup
            iconst_0
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_3
            iconst_3
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_4
            iconst_5
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_5
            bipush 8
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 6
            bipush 13
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 7
            bipush 21
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 8
            bipush 34
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 9
            bipush 55
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 10
            bipush 89
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 11
            sipush 144
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 12
            sipush 233
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 13
            sipush 377
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 14
            sipush 610
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 15
            sipush 987
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 16
            sipush 1597
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 17
            sipush 2584
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 18
            sipush 4181
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 19
            sipush 6765
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            putfield com.microsoft.azure.credentials.MSICredentials.retrySlots:Ljava/util/List;
         2: .line 37
            aload 0 /* this */
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.retrySlots:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            putfield com.microsoft.azure.credentials.MSICredentials.maxRetry:I
         3: .line 38
            aload 0 /* this */
            iconst_m1
            putfield com.microsoft.azure.credentials.MSICredentials.customTimeout:I
         4: .line 39
            aload 0 /* this */
            new java.util.concurrent.locks.ReentrantLock
            dup
            invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
            putfield com.microsoft.azure.credentials.MSICredentials.lock:Ljava/util/concurrent/locks/Lock;
         5: .line 40
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putfield com.microsoft.azure.credentials.MSICredentials.cache:Ljava/util/concurrent/ConcurrentHashMap;
         6: .line 43
            aload 0 /* this */
            ldc 50342
            putfield com.microsoft.azure.credentials.MSICredentials.msiPort:I
         7: .line 45
            aload 0 /* this */
            new com.microsoft.azure.serializer.AzureJacksonAdapter
            dup
            invokespecial com.microsoft.azure.serializer.AzureJacksonAdapter.<init>:()V
            putfield com.microsoft.azure.credentials.MSICredentials.adapter:Lcom/microsoft/azure/serializer/AzureJacksonAdapter;
         8: .line 65
            aload 0 /* this */
            aload 1 /* environment */
            invokevirtual com.microsoft.azure.AzureEnvironment.managementEndpoint:()Ljava/lang/String;
            putfield com.microsoft.azure.credentials.MSICredentials.resource:Ljava/lang/String;
         9: .line 66
            aload 0 /* this */
            getstatic com.microsoft.azure.credentials.MSICredentials$MSITokenSource.IMDS_ENDPOINT:Lcom/microsoft/azure/credentials/MSICredentials$MSITokenSource;
            putfield com.microsoft.azure.credentials.MSICredentials.tokenSource:Lcom/microsoft/azure/credentials/MSICredentials$MSITokenSource;
        10: .line 67
            return
        end local 1 // com.microsoft.azure.AzureEnvironment environment
        end local 0 // com.microsoft.azure.credentials.MSICredentials this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   11     0         this  Lcom/microsoft/azure/credentials/MSICredentials;
            0   11     1  environment  Lcom/microsoft/azure/AzureEnvironment;
    MethodParameters:
             Name  Flags
      environment  

  public void <init>(com.microsoft.azure.AzureEnvironment, int);
    descriptor: (Lcom/microsoft/azure/AzureEnvironment;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=3, args_size=3
        start local 0 // com.microsoft.azure.credentials.MSICredentials this
        start local 1 // com.microsoft.azure.AzureEnvironment environment
        start local 2 // int msiPort
         0: .line 78
            aload 0 /* this */
            aload 1 /* environment */
            aconst_null
            invokespecial com.microsoft.azure.credentials.AzureTokenCredentials.<init>:(Lcom/microsoft/azure/AzureEnvironment;Ljava/lang/String;)V
         1: .line 36
            aload 0 /* this */
            new java.util.ArrayList
            dup
            bipush 20
            anewarray java.lang.Integer
            dup
            iconst_0
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_3
            iconst_3
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_4
            iconst_5
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_5
            bipush 8
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 6
            bipush 13
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 7
            bipush 21
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 8
            bipush 34
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 9
            bipush 55
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 10
            bipush 89
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 11
            sipush 144
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 12
            sipush 233
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 13
            sipush 377
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 14
            sipush 610
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 15
            sipush 987
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 16
            sipush 1597
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 17
            sipush 2584
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 18
            sipush 4181
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            bipush 19
            sipush 6765
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            putfield com.microsoft.azure.credentials.MSICredentials.retrySlots:Ljava/util/List;
         2: .line 37
            aload 0 /* this */
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.retrySlots:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            putfield com.microsoft.azure.credentials.MSICredentials.maxRetry:I
         3: .line 38
            aload 0 /* this */
            iconst_m1
            putfield com.microsoft.azure.credentials.MSICredentials.customTimeout:I
         4: .line 39
            aload 0 /* this */
            new java.util.concurrent.locks.ReentrantLock
            dup
            invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
            putfield com.microsoft.azure.credentials.MSICredentials.lock:Ljava/util/concurrent/locks/Lock;
         5: .line 40
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putfield com.microsoft.azure.credentials.MSICredentials.cache:Ljava/util/concurrent/ConcurrentHashMap;
         6: .line 43
            aload 0 /* this */
            ldc 50342
            putfield com.microsoft.azure.credentials.MSICredentials.msiPort:I
         7: .line 45
            aload 0 /* this */
            new com.microsoft.azure.serializer.AzureJacksonAdapter
            dup
            invokespecial com.microsoft.azure.serializer.AzureJacksonAdapter.<init>:()V
            putfield com.microsoft.azure.credentials.MSICredentials.adapter:Lcom/microsoft/azure/serializer/AzureJacksonAdapter;
         8: .line 79
            aload 0 /* this */
            aload 1 /* environment */
            invokevirtual com.microsoft.azure.AzureEnvironment.managementEndpoint:()Ljava/lang/String;
            putfield com.microsoft.azure.credentials.MSICredentials.resource:Ljava/lang/String;
         9: .line 80
            aload 0 /* this */
            iload 2 /* msiPort */
            putfield com.microsoft.azure.credentials.MSICredentials.msiPort:I
        10: .line 81
            aload 0 /* this */
            getstatic com.microsoft.azure.credentials.MSICredentials$MSITokenSource.MSI_EXTENSION:Lcom/microsoft/azure/credentials/MSICredentials$MSITokenSource;
            putfield com.microsoft.azure.credentials.MSICredentials.tokenSource:Lcom/microsoft/azure/credentials/MSICredentials$MSITokenSource;
        11: .line 82
            return
        end local 2 // int msiPort
        end local 1 // com.microsoft.azure.AzureEnvironment environment
        end local 0 // com.microsoft.azure.credentials.MSICredentials this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   12     0         this  Lcom/microsoft/azure/credentials/MSICredentials;
            0   12     1  environment  Lcom/microsoft/azure/AzureEnvironment;
            0   12     2      msiPort  I
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()
    MethodParameters:
             Name  Flags
      environment  
      msiPort      

  public com.microsoft.azure.credentials.MSICredentials withObjectId(java.lang.String);
    descriptor: (Ljava/lang/String;)Lcom/microsoft/azure/credentials/MSICredentials;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.microsoft.azure.credentials.MSICredentials this
        start local 1 // java.lang.String objectId
         0: .line 93
            aload 0 /* this */
            aload 1 /* objectId */
            putfield com.microsoft.azure.credentials.MSICredentials.objectId:Ljava/lang/String;
         1: .line 94
            aload 0 /* this */
            aconst_null
            putfield com.microsoft.azure.credentials.MSICredentials.clientId:Ljava/lang/String;
         2: .line 95
            aload 0 /* this */
            aconst_null
            putfield com.microsoft.azure.credentials.MSICredentials.identityId:Ljava/lang/String;
         3: .line 96
            aload 0 /* this */
            areturn
        end local 1 // java.lang.String objectId
        end local 0 // com.microsoft.azure.credentials.MSICredentials this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Lcom/microsoft/azure/credentials/MSICredentials;
            0    4     1  objectId  Ljava/lang/String;
    RuntimeInvisibleAnnotations: 
      com.microsoft.azure.management.apigeneration.Beta()
    MethodParameters:
          Name  Flags
      objectId  

  public com.microsoft.azure.credentials.MSICredentials withClientId(java.lang.String);
    descriptor: (Ljava/lang/String;)Lcom/microsoft/azure/credentials/MSICredentials;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.microsoft.azure.credentials.MSICredentials this
        start local 1 // java.lang.String clientId
         0: .line 108
            aload 0 /* this */
            aload 1 /* clientId */
            putfield com.microsoft.azure.credentials.MSICredentials.clientId:Ljava/lang/String;
         1: .line 109
            aload 0 /* this */
            aconst_null
            putfield com.microsoft.azure.credentials.MSICredentials.objectId:Ljava/lang/String;
         2: .line 110
            aload 0 /* this */
            aconst_null
            putfield com.microsoft.azure.credentials.MSICredentials.identityId:Ljava/lang/String;
         3: .line 111
            aload 0 /* this */
            areturn
        end local 1 // java.lang.String clientId
        end local 0 // com.microsoft.azure.credentials.MSICredentials this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Lcom/microsoft/azure/credentials/MSICredentials;
            0    4     1  clientId  Ljava/lang/String;
    RuntimeInvisibleAnnotations: 
      com.microsoft.azure.management.apigeneration.Beta()
    MethodParameters:
          Name  Flags
      clientId  

  public com.microsoft.azure.credentials.MSICredentials withIdentityId(java.lang.String);
    descriptor: (Ljava/lang/String;)Lcom/microsoft/azure/credentials/MSICredentials;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.microsoft.azure.credentials.MSICredentials this
        start local 1 // java.lang.String identityId
         0: .line 123
            aload 0 /* this */
            aload 1 /* identityId */
            putfield com.microsoft.azure.credentials.MSICredentials.identityId:Ljava/lang/String;
         1: .line 124
            aload 0 /* this */
            aconst_null
            putfield com.microsoft.azure.credentials.MSICredentials.clientId:Ljava/lang/String;
         2: .line 125
            aload 0 /* this */
            aconst_null
            putfield com.microsoft.azure.credentials.MSICredentials.objectId:Ljava/lang/String;
         3: .line 126
            aload 0 /* this */
            areturn
        end local 1 // java.lang.String identityId
        end local 0 // com.microsoft.azure.credentials.MSICredentials this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    4     0        this  Lcom/microsoft/azure/credentials/MSICredentials;
            0    4     1  identityId  Ljava/lang/String;
    RuntimeInvisibleAnnotations: 
      com.microsoft.azure.management.apigeneration.Beta()
    MethodParameters:
            Name  Flags
      identityId  

  public com.microsoft.azure.credentials.MSICredentials withCustomTimeout(int);
    descriptor: (I)Lcom/microsoft/azure/credentials/MSICredentials;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.microsoft.azure.credentials.MSICredentials this
        start local 1 // int timeoutInMs
         0: .line 136
            aload 0 /* this */
            iload 1 /* timeoutInMs */
            putfield com.microsoft.azure.credentials.MSICredentials.customTimeout:I
         1: .line 137
            aload 0 /* this */
            areturn
        end local 1 // int timeoutInMs
        end local 0 // com.microsoft.azure.credentials.MSICredentials this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    2     0         this  Lcom/microsoft/azure/credentials/MSICredentials;
            0    2     1  timeoutInMs  I
    MethodParameters:
             Name  Flags
      timeoutInMs  

  public java.lang.String getToken(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.microsoft.azure.credentials.MSICredentials this
        start local 1 // java.lang.String tokenAudience
         0: .line 143
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.tokenSource:Lcom/microsoft/azure/credentials/MSICredentials$MSITokenSource;
            getstatic com.microsoft.azure.credentials.MSICredentials$MSITokenSource.MSI_EXTENSION:Lcom/microsoft/azure/credentials/MSICredentials$MSITokenSource;
            if_acmpne 4
         1: .line 144
            aload 0 /* this */
            aload 1 /* tokenAudience */
            ifnonnull 2
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.resource:Ljava/lang/String;
            goto 3
      StackMap locals:
      StackMap stack: com.microsoft.azure.credentials.MSICredentials
         2: aload 1 /* tokenAudience */
      StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String
      StackMap stack: com.microsoft.azure.credentials.MSICredentials java.lang.String
         3: invokevirtual com.microsoft.azure.credentials.MSICredentials.getTokenFromMSIExtension:(Ljava/lang/String;)Ljava/lang/String;
            areturn
         4: .line 146
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* tokenAudience */
            ifnonnull 5
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.resource:Ljava/lang/String;
            goto 6
      StackMap locals:
      StackMap stack: com.microsoft.azure.credentials.MSICredentials
         5: aload 1 /* tokenAudience */
      StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String
      StackMap stack: com.microsoft.azure.credentials.MSICredentials java.lang.String
         6: invokevirtual com.microsoft.azure.credentials.MSICredentials.getTokenFromIMDSEndpoint:(Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 1 // java.lang.String tokenAudience
        end local 0 // com.microsoft.azure.credentials.MSICredentials this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    7     0           this  Lcom/microsoft/azure/credentials/MSICredentials;
            0    7     1  tokenAudience  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
               Name  Flags
      tokenAudience  

  private java.lang.String getTokenFromMSIExtension(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=12, args_size=2
        start local 0 // com.microsoft.azure.credentials.MSICredentials this
        start local 1 // java.lang.String tokenAudience
         0: .line 151
            new java.net.URL
            dup
            ldc "http://localhost:%d/oauth2/token"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.msiPort:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
            astore 2 /* url */
        start local 2 // java.net.URL url
         1: .line 152
            ldc "resource=%s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* tokenAudience */
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            astore 3 /* postData */
        start local 3 // java.lang.String postData
         2: .line 153
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.objectId:Ljava/lang/String;
            ifnull 5
         3: .line 154
            new java.lang.StringBuilder
            dup
            aload 3 /* postData */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "&object_id=%s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.objectId:Ljava/lang/String;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* postData */
         4: .line 155
            goto 10
      StackMap locals: java.net.URL java.lang.String
      StackMap stack:
         5: aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.clientId:Ljava/lang/String;
            ifnull 8
         6: .line 156
            new java.lang.StringBuilder
            dup
            aload 3 /* postData */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "&client_id=%s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.clientId:Ljava/lang/String;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* postData */
         7: .line 157
            goto 10
      StackMap locals:
      StackMap stack:
         8: aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.identityId:Ljava/lang/String;
            ifnull 10
         9: .line 158
            new java.lang.StringBuilder
            dup
            aload 3 /* postData */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "&msi_res_id=%s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.identityId:Ljava/lang/String;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* postData */
        10: .line 160
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 4 /* connection */
        start local 4 // java.net.HttpURLConnection connection
        11: .line 163
            aload 2 /* url */
            invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
            checkcast java.net.HttpURLConnection
            astore 4 /* connection */
        12: .line 165
            aload 4 /* connection */
            ldc "POST"
            invokevirtual java.net.HttpURLConnection.setRequestMethod:(Ljava/lang/String;)V
        13: .line 166
            aload 4 /* connection */
            ldc "Content-Type"
            ldc "application/x-www-form-urlencoded; charset=utf-8"
            invokevirtual java.net.HttpURLConnection.setRequestProperty:(Ljava/lang/String;Ljava/lang/String;)V
        14: .line 167
            aload 4 /* connection */
            ldc "Metadata"
            ldc "true"
            invokevirtual java.net.HttpURLConnection.setRequestProperty:(Ljava/lang/String;Ljava/lang/String;)V
        15: .line 168
            aload 4 /* connection */
            ldc "Content-Length"
            aload 3 /* postData */
            invokevirtual java.lang.String.length:()I
            invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
            invokevirtual java.net.HttpURLConnection.setRequestProperty:(Ljava/lang/String;Ljava/lang/String;)V
        16: .line 169
            aload 4 /* connection */
            iconst_1
            invokevirtual java.net.HttpURLConnection.setDoOutput:(Z)V
        17: .line 171
            aload 4 /* connection */
            invokevirtual java.net.HttpURLConnection.connect:()V
        18: .line 173
            new java.io.OutputStreamWriter
            dup
            aload 4 /* connection */
            invokevirtual java.net.HttpURLConnection.getOutputStream:()Ljava/io/OutputStream;
            invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
            astore 5 /* wr */
        start local 5 // java.io.OutputStreamWriter wr
        19: .line 174
            aload 5 /* wr */
            aload 3 /* postData */
            invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;)V
        20: .line 175
            aload 5 /* wr */
            invokevirtual java.io.OutputStreamWriter.flush:()V
        21: .line 177
            aload 4 /* connection */
            invokevirtual java.net.HttpURLConnection.getInputStream:()Ljava/io/InputStream;
            astore 6 /* stream */
        start local 6 // java.io.InputStream stream
        22: .line 178
            new java.io.BufferedReader
            dup
            new java.io.InputStreamReader
            dup
            aload 6 /* stream */
            ldc "UTF-8"
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
            bipush 100
            invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;I)V
            astore 7 /* reader */
        start local 7 // java.io.BufferedReader reader
        23: .line 179
            aload 7 /* reader */
            invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
            astore 8 /* result */
        start local 8 // java.lang.String result
        24: .line 181
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.adapter:Lcom/microsoft/azure/serializer/AzureJacksonAdapter;
            aload 8 /* result */
            ldc Lcom/microsoft/azure/credentials/MSIToken;
            invokevirtual com.microsoft.azure.serializer.AzureJacksonAdapter.deserialize:(Ljava/lang/String;Ljava/lang/reflect/Type;)Ljava/lang/Object;
            checkcast com.microsoft.azure.credentials.MSIToken
            astore 9 /* msiToken */
        start local 9 // com.microsoft.azure.credentials.MSIToken msiToken
        25: .line 182
            aload 9 /* msiToken */
            invokevirtual com.microsoft.azure.credentials.MSIToken.accessToken:()Ljava/lang/String;
            astore 11
        26: .line 187
            aload 4 /* connection */
            ifnull 28
        27: .line 188
            aload 4 /* connection */
            invokevirtual java.net.HttpURLConnection.disconnect:()V
        28: .line 182
      StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String java.net.URL java.lang.String java.net.HttpURLConnection java.io.OutputStreamWriter java.io.InputStream java.io.BufferedReader java.lang.String com.microsoft.azure.credentials.MSIToken top java.lang.String
      StackMap stack:
            aload 11
            areturn
        end local 9 // com.microsoft.azure.credentials.MSIToken msiToken
        end local 8 // java.lang.String result
        end local 7 // java.io.BufferedReader reader
        end local 6 // java.io.InputStream stream
        end local 5 // java.io.OutputStreamWriter wr
        29: .line 183
      StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String java.net.URL java.lang.String java.net.HttpURLConnection
      StackMap stack: java.lang.Exception
            astore 5 /* e */
        start local 5 // java.lang.Exception e
        30: .line 184
            aload 5 /* e */
            invokevirtual java.lang.Exception.printStackTrace:()V
        31: .line 185
            aload 5 /* e */
            athrow
        end local 5 // java.lang.Exception e
        32: .line 186
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 10
        33: .line 187
            aload 4 /* connection */
            ifnull 35
        34: .line 188
            aload 4 /* connection */
            invokevirtual java.net.HttpURLConnection.disconnect:()V
        35: .line 190
      StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String java.net.URL java.lang.String java.net.HttpURLConnection top top top top top java.lang.Throwable
      StackMap stack:
            aload 10
            athrow
        end local 4 // java.net.HttpURLConnection connection
        end local 3 // java.lang.String postData
        end local 2 // java.net.URL url
        end local 1 // java.lang.String tokenAudience
        end local 0 // com.microsoft.azure.credentials.MSICredentials this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   36     0           this  Lcom/microsoft/azure/credentials/MSICredentials;
            0   36     1  tokenAudience  Ljava/lang/String;
            1   36     2            url  Ljava/net/URL;
            2   36     3       postData  Ljava/lang/String;
           11   36     4     connection  Ljava/net/HttpURLConnection;
           19   29     5             wr  Ljava/io/OutputStreamWriter;
           22   29     6         stream  Ljava/io/InputStream;
           23   29     7         reader  Ljava/io/BufferedReader;
           24   29     8         result  Ljava/lang/String;
           25   29     9       msiToken  Lcom/microsoft/azure/credentials/MSIToken;
           30   32     5              e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
          11    26      29  Class java.lang.Exception
          11    26      32  any
          29    32      32  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
               Name  Flags
      tokenAudience  

  private java.lang.String getTokenFromIMDSEndpoint(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // com.microsoft.azure.credentials.MSICredentials this
        start local 1 // java.lang.String tokenAudience
         0: .line 194
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.cache:Ljava/util/concurrent/ConcurrentHashMap;
            aload 1 /* tokenAudience */
            invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.microsoft.azure.credentials.MSIToken
            astore 2 /* token */
        start local 2 // com.microsoft.azure.credentials.MSIToken token
         1: .line 195
            aload 2 /* token */
            ifnull 3
            aload 2 /* token */
            invokevirtual com.microsoft.azure.credentials.MSIToken.isExpired:()Z
            ifne 3
         2: .line 196
            aload 2 /* token */
            invokevirtual com.microsoft.azure.credentials.MSIToken.accessToken:()Ljava/lang/String;
            areturn
         3: .line 198
      StackMap locals: com.microsoft.azure.credentials.MSIToken
      StackMap stack:
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.lock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         4: .line 200
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.cache:Ljava/util/concurrent/ConcurrentHashMap;
            aload 1 /* tokenAudience */
            invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.microsoft.azure.credentials.MSIToken
            astore 2 /* token */
         5: .line 201
            aload 2 /* token */
            ifnull 9
            aload 2 /* token */
            invokevirtual com.microsoft.azure.credentials.MSIToken.isExpired:()Z
            ifne 9
         6: .line 202
            aload 2 /* token */
            invokevirtual com.microsoft.azure.credentials.MSIToken.accessToken:()Ljava/lang/String;
            astore 5
         7: .line 214
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.lock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         8: .line 202
            aload 5
            areturn
         9: .line 205
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* tokenAudience */
            invokevirtual com.microsoft.azure.credentials.MSICredentials.retrieveTokenFromIDMSWithRetry:(Ljava/lang/String;)Lcom/microsoft/azure/credentials/MSIToken;
            astore 2 /* token */
        10: .line 206
            aload 2 /* token */
            ifnull 15
        11: .line 207
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.cache:Ljava/util/concurrent/ConcurrentHashMap;
            aload 1 /* tokenAudience */
            aload 2 /* token */
            invokevirtual java.util.concurrent.ConcurrentHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        12: .line 209
            goto 15
      StackMap locals:
      StackMap stack: java.io.IOException
        13: astore 3 /* exception */
        start local 3 // java.io.IOException exception
        14: .line 210
            new java.lang.RuntimeException
            dup
            aload 3 /* exception */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.io.IOException exception
        15: .line 212
      StackMap locals:
      StackMap stack:
            aload 2 /* token */
            invokevirtual com.microsoft.azure.credentials.MSIToken.accessToken:()Ljava/lang/String;
            astore 5
        16: .line 214
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.lock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        17: .line 212
            aload 5
            areturn
        18: .line 213
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 4
        19: .line 214
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.lock:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        20: .line 215
            aload 4
            athrow
        end local 2 // com.microsoft.azure.credentials.MSIToken token
        end local 1 // java.lang.String tokenAudience
        end local 0 // com.microsoft.azure.credentials.MSICredentials this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   21     0           this  Lcom/microsoft/azure/credentials/MSICredentials;
            0   21     1  tokenAudience  Ljava/lang/String;
            1   21     2          token  Lcom/microsoft/azure/credentials/MSIToken;
           14   15     3      exception  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           9    12      13  Class java.io.IOException
           4     7      18  any
           9    16      18  any
    MethodParameters:
               Name  Flags
      tokenAudience  

  private com.microsoft.azure.credentials.MSIToken retrieveTokenFromIDMSWithRetry(java.lang.String);
    descriptor: (Ljava/lang/String;)Lcom/microsoft/azure/credentials/MSIToken;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=14, args_size=2
        start local 0 // com.microsoft.azure.credentials.MSICredentials this
        start local 1 // java.lang.String tokenAudience
         0: .line 219
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 2 /* payload */
        start local 2 // java.lang.StringBuilder payload
         1: .line 221
            iconst_0
            istore 3 /* hasTimedout */
        start local 3 // boolean hasTimedout
         2: .line 225
            aload 2 /* payload */
            ldc "api-version"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         3: .line 226
            aload 2 /* payload */
            ldc "="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         4: .line 227
            aload 2 /* payload */
            ldc "2018-02-01"
            ldc "UTF-8"
            invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         5: .line 228
            aload 2 /* payload */
            ldc "&"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         6: .line 229
            aload 2 /* payload */
            ldc "resource"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         7: .line 230
            aload 2 /* payload */
            ldc "="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         8: .line 231
            aload 2 /* payload */
            aload 1 /* tokenAudience */
            ldc "UTF-8"
            invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         9: .line 232
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.objectId:Ljava/lang/String;
            ifnull 15
        10: .line 233
            aload 2 /* payload */
            ldc "&"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        11: .line 234
            aload 2 /* payload */
            ldc "object_id"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        12: .line 235
            aload 2 /* payload */
            ldc "="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        13: .line 236
            aload 2 /* payload */
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.objectId:Ljava/lang/String;
            ldc "UTF-8"
            invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        14: .line 237
            goto 29
      StackMap locals: java.lang.StringBuilder int
      StackMap stack:
        15: aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.clientId:Ljava/lang/String;
            ifnull 21
        16: .line 238
            aload 2 /* payload */
            ldc "&"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        17: .line 239
            aload 2 /* payload */
            ldc "client_id"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        18: .line 240
            aload 2 /* payload */
            ldc "="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        19: .line 241
            aload 2 /* payload */
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.clientId:Ljava/lang/String;
            ldc "UTF-8"
            invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        20: .line 242
            goto 29
      StackMap locals:
      StackMap stack:
        21: aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.identityId:Ljava/lang/String;
            ifnull 29
        22: .line 243
            aload 2 /* payload */
            ldc "&"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        23: .line 244
            aload 2 /* payload */
            ldc "msi_res_id"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        24: .line 245
            aload 2 /* payload */
            ldc "="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        25: .line 246
            aload 2 /* payload */
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.identityId:Ljava/lang/String;
            ldc "UTF-8"
            invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        26: .line 248
            goto 29
      StackMap locals:
      StackMap stack: java.io.IOException
        27: astore 4 /* exception */
        start local 4 // java.io.IOException exception
        28: .line 249
            new java.lang.RuntimeException
            dup
            aload 4 /* exception */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 4 // java.io.IOException exception
        29: .line 252
      StackMap locals:
      StackMap stack:
            iconst_1
            istore 4 /* retry */
        start local 4 // int retry
        30: .line 253
            goto 68
        31: .line 254
      StackMap locals: int
      StackMap stack:
            new java.net.URL
            dup
            ldc "http://169.254.169.254/metadata/identity/oauth2/token?%s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 2 /* payload */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
            astore 5 /* url */
        start local 5 // java.net.URL url
        32: .line 256
            aconst_null
            astore 6 /* connection */
        start local 6 // java.net.HttpURLConnection connection
        33: .line 258
            invokestatic java.util.Calendar.getInstance:()Ljava/util/Calendar;
            invokevirtual java.util.Calendar.getTime:()Ljava/util/Date;
            invokevirtual java.util.Date.getTime:()J
            lstore 7 /* startTime */
        start local 7 // long startTime
        34: .line 260
            aload 5 /* url */
            invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
            checkcast java.net.HttpURLConnection
            astore 6 /* connection */
        35: .line 261
            aload 6 /* connection */
            ldc "GET"
            invokevirtual java.net.HttpURLConnection.setRequestMethod:(Ljava/lang/String;)V
        36: .line 262
            aload 6 /* connection */
            ldc "Metadata"
            ldc "true"
            invokevirtual java.net.HttpURLConnection.setRequestProperty:(Ljava/lang/String;Ljava/lang/String;)V
        37: .line 263
            aload 6 /* connection */
            invokevirtual java.net.HttpURLConnection.connect:()V
        38: .line 264
            aload 6 /* connection */
            invokevirtual java.net.HttpURLConnection.getInputStream:()Ljava/io/InputStream;
            astore 9 /* stream */
        start local 9 // java.io.InputStream stream
        39: .line 265
            new java.io.BufferedReader
            dup
            new java.io.InputStreamReader
            dup
            aload 9 /* stream */
            ldc "UTF-8"
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
            bipush 100
            invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;I)V
            astore 10 /* reader */
        start local 10 // java.io.BufferedReader reader
        40: .line 266
            aload 10 /* reader */
            invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
            astore 11 /* result */
        start local 11 // java.lang.String result
        41: .line 267
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.adapter:Lcom/microsoft/azure/serializer/AzureJacksonAdapter;
            aload 11 /* result */
            ldc Lcom/microsoft/azure/credentials/MSIToken;
            invokevirtual com.microsoft.azure.serializer.AzureJacksonAdapter.deserialize:(Ljava/lang/String;Ljava/lang/reflect/Type;)Ljava/lang/Object;
            checkcast com.microsoft.azure.credentials.MSIToken
            astore 13
        42: .line 288
            aload 6 /* connection */
            ifnull 44
        43: .line 289
            aload 6 /* connection */
            invokevirtual java.net.HttpURLConnection.disconnect:()V
        44: .line 267
      StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String java.lang.StringBuilder int int java.net.URL java.net.HttpURLConnection long java.io.InputStream java.io.BufferedReader java.lang.String top com.microsoft.azure.credentials.MSIToken
      StackMap stack:
            aload 13
            areturn
        end local 11 // java.lang.String result
        end local 10 // java.io.BufferedReader reader
        end local 9 // java.io.InputStream stream
        45: .line 268
      StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String java.lang.StringBuilder int int java.net.URL java.net.HttpURLConnection long
      StackMap stack: java.lang.Exception
            astore 9 /* exception */
        start local 9 // java.lang.Exception exception
        46: .line 269
            aload 6 /* connection */
            invokevirtual java.net.HttpURLConnection.getResponseCode:()I
            istore 10 /* responseCode */
        start local 10 // int responseCode
        47: .line 270
            iload 10 /* responseCode */
            sipush 410
            if_icmpeq 48
            iload 10 /* responseCode */
            sipush 429
            if_icmpeq 48
            iload 10 /* responseCode */
            sipush 404
            if_icmpeq 48
            iload 10 /* responseCode */
            sipush 500
            if_icmplt 61
            iload 10 /* responseCode */
            sipush 599
            if_icmpgt 61
        48: .line 271
      StackMap locals: java.lang.Exception int
      StackMap stack:
            iload 3 /* hasTimedout */
            ifeq 50
        49: .line 272
            new java.lang.RuntimeException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Couldn't acquire access token from IMDS within the specified timeout : "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.customTimeout:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " milliseconds"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        50: .line 274
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.retrySlots:Ljava/util/List;
            new java.util.Random
            dup
            invokespecial java.util.Random.<init>:()V
            iload 4 /* retry */
            invokevirtual java.util.Random.nextInt:(I)I
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            sipush 1000
            imul
            istore 11 /* retryTimeoutInMs */
        start local 11 // int retryTimeoutInMs
        51: .line 277
            iload 10 /* responseCode */
            sipush 410
            if_icmpne 52
            iload 11 /* retryTimeoutInMs */
            ldc 70000
            if_icmpge 52
            ldc 70000
            goto 53
      StackMap locals: int
      StackMap stack:
        52: iload 11 /* retryTimeoutInMs */
      StackMap locals:
      StackMap stack: int
        53: istore 11 /* retryTimeoutInMs */
        54: .line 278
            iinc 4 /* retry */ 1
        55: .line 279
            iload 4 /* retry */
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.maxRetry:I
            if_icmple 59
        56: .line 288
            aload 6 /* connection */
            ifnull 69
        57: .line 289
            aload 6 /* connection */
            invokevirtual java.net.HttpURLConnection.disconnect:()V
        58: .line 280
            goto 69
        59: .line 282
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 11 /* retryTimeoutInMs */
            lload 7 /* startTime */
            invokevirtual com.microsoft.azure.credentials.MSICredentials.sleep:(IJ)Z
            istore 3 /* hasTimedout */
        end local 11 // int retryTimeoutInMs
        60: .line 284
            goto 62
        61: .line 285
      StackMap locals:
      StackMap stack:
            new java.lang.RuntimeException
            dup
            ldc "Couldn't acquire access token from IMDS, verify your objectId, clientId or msiResourceId"
            aload 9 /* exception */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 10 // int responseCode
        end local 9 // java.lang.Exception exception
        62: .line 288
      StackMap locals:
      StackMap stack:
            aload 6 /* connection */
            ifnull 68
        63: .line 289
            aload 6 /* connection */
            invokevirtual java.net.HttpURLConnection.disconnect:()V
            goto 68
        64: .line 287
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 12
        65: .line 288
            aload 6 /* connection */
            ifnull 67
        66: .line 289
            aload 6 /* connection */
            invokevirtual java.net.HttpURLConnection.disconnect:()V
        67: .line 291
      StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String java.lang.StringBuilder int int java.net.URL java.net.HttpURLConnection long top top top java.lang.Throwable
      StackMap stack:
            aload 12
            athrow
        end local 7 // long startTime
        end local 6 // java.net.HttpURLConnection connection
        end local 5 // java.net.URL url
        68: .line 253
      StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String java.lang.StringBuilder int int
      StackMap stack:
            iload 4 /* retry */
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.maxRetry:I
            if_icmple 31
        69: .line 294
      StackMap locals:
      StackMap stack:
            iload 4 /* retry */
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.maxRetry:I
            if_icmple 71
        70: .line 295
            new java.lang.RuntimeException
            dup
            ldc "MSI: Failed to acquire tokens after retrying %s times"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.maxRetry:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        71: .line 297
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 4 // int retry
        end local 3 // boolean hasTimedout
        end local 2 // java.lang.StringBuilder payload
        end local 1 // java.lang.String tokenAudience
        end local 0 // com.microsoft.azure.credentials.MSICredentials this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   72     0              this  Lcom/microsoft/azure/credentials/MSICredentials;
            0   72     1     tokenAudience  Ljava/lang/String;
            1   72     2           payload  Ljava/lang/StringBuilder;
            2   72     3       hasTimedout  Z
           28   29     4         exception  Ljava/io/IOException;
           30   72     4             retry  I
           32   68     5               url  Ljava/net/URL;
           33   68     6        connection  Ljava/net/HttpURLConnection;
           34   68     7         startTime  J
           39   45     9            stream  Ljava/io/InputStream;
           40   45    10            reader  Ljava/io/BufferedReader;
           41   45    11            result  Ljava/lang/String;
           46   62     9         exception  Ljava/lang/Exception;
           47   62    10      responseCode  I
           51   60    11  retryTimeoutInMs  I
      Exception table:
        from    to  target  type
           2    26      27  Class java.io.IOException
          34    42      45  Class java.lang.Exception
          34    42      64  any
          45    56      64  any
          59    62      64  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
               Name  Flags
      tokenAudience  

  private boolean sleep(int, long);
    descriptor: (IJ)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=8, args_size=3
        start local 0 // com.microsoft.azure.credentials.MSICredentials this
        start local 1 // int timeToWaitinMs
        start local 2 // long startTime
         0: .line 307
            lconst_0
            lstore 4 /* timeToSleep */
        start local 4 // long timeToSleep
         1: .line 309
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.customTimeout:I
            iconst_m1
            if_icmple 10
         2: .line 310
            lload 2 /* startTime */
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.customTimeout:I
            i2l
            ladd
            invokestatic java.util.Calendar.getInstance:()Ljava/util/Calendar;
            invokevirtual java.util.Calendar.getTime:()Ljava/util/Date;
            invokevirtual java.util.Date.getTime:()J
            lsub
            lstore 6 /* timeRemainingToTimeout */
        start local 6 // long timeRemainingToTimeout
         3: .line 311
            iload 1 /* timeToWaitinMs */
            i2l
            lload 6 /* timeRemainingToTimeout */
            lcmp
            ifge 4
            iload 1 /* timeToWaitinMs */
            i2l
            goto 5
      StackMap locals: long long
      StackMap stack:
         4: lload 6 /* timeRemainingToTimeout */
      StackMap locals:
      StackMap stack: long
         5: lstore 6 /* timeRemainingToTimeout */
         6: .line 312
            lload 6 /* timeRemainingToTimeout */
            lconst_0
            lcmp
            ifle 7
            lload 6 /* timeRemainingToTimeout */
            goto 8
      StackMap locals:
      StackMap stack:
         7: lconst_0
      StackMap locals:
      StackMap stack: long
         8: lstore 4 /* timeToSleep */
        end local 6 // long timeRemainingToTimeout
         9: .line 313
            goto 11
        10: .line 314
      StackMap locals:
      StackMap stack:
            iload 1 /* timeToWaitinMs */
            i2l
            lstore 4 /* timeToSleep */
        11: .line 317
      StackMap locals:
      StackMap stack:
            lload 4 /* timeToSleep */
            invokestatic com.microsoft.azure.credentials.MSICredentials.sleep:(J)V
        12: .line 318
            lload 4 /* timeToSleep */
            iload 1 /* timeToWaitinMs */
            i2l
            lcmp
            ifeq 13
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
        13: iconst_0
            ireturn
        end local 4 // long timeToSleep
        end local 2 // long startTime
        end local 1 // int timeToWaitinMs
        end local 0 // com.microsoft.azure.credentials.MSICredentials this
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0   14     0                    this  Lcom/microsoft/azure/credentials/MSICredentials;
            0   14     1          timeToWaitinMs  I
            0   14     2               startTime  J
            1   14     4             timeToSleep  J
            3    9     6  timeRemainingToTimeout  J
    MethodParameters:
                Name  Flags
      timeToWaitinMs  
      startTime       

  private static void sleep(long);
    descriptor: (J)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // long millis
         0: .line 323
            lload 0 /* millis */
            invokestatic java.lang.Thread.sleep:(J)V
         1: .line 324
            goto 4
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
         2: astore 2 /* ex */
        start local 2 // java.lang.InterruptedException ex
         3: .line 325
            new java.lang.RuntimeException
            dup
            aload 2 /* ex */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.lang.InterruptedException ex
         4: .line 327
      StackMap locals:
      StackMap stack:
            return
        end local 0 // long millis
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0  millis  J
            3    4     2      ex  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.InterruptedException
    MethodParameters:
        Name  Flags
      millis  

  public int maxRetry();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.microsoft.azure.credentials.MSICredentials this
         0: .line 333
            aload 0 /* this */
            getfield com.microsoft.azure.credentials.MSICredentials.maxRetry:I
            ireturn
        end local 0 // com.microsoft.azure.credentials.MSICredentials this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/microsoft/azure/credentials/MSICredentials;

  public void setMaxRetry(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.microsoft.azure.credentials.MSICredentials this
        start local 1 // int maxRetry
         0: .line 342
            aload 0 /* this */
            iload 1 /* maxRetry */
            putfield com.microsoft.azure.credentials.MSICredentials.maxRetry:I
         1: .line 343
            return
        end local 1 // int maxRetry
        end local 0 // com.microsoft.azure.credentials.MSICredentials this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lcom/microsoft/azure/credentials/MSICredentials;
            0    2     1  maxRetry  I
    MethodParameters:
          Name  Flags
      maxRetry  
}
SourceFile: "MSICredentials.java"
NestMembers:
  com.microsoft.azure.credentials.MSICredentials$MSITokenSource
InnerClasses:
  private final MSITokenSource = com.microsoft.azure.credentials.MSICredentials$MSITokenSource of com.microsoft.azure.credentials.MSICredentials
    RuntimeInvisibleAnnotations: 
      com.microsoft.azure.management.apigeneration.Beta()