public abstract class com.microsoft.azure.credentials.AzureTokenCredentials extends com.microsoft.rest.credentials.TokenCredentials
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.microsoft.azure.credentials.AzureTokenCredentials
super_class: com.microsoft.rest.credentials.TokenCredentials
{
private final com.microsoft.azure.AzureEnvironment environment;
descriptor: Lcom/microsoft/azure/AzureEnvironment;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String domain;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String defaultSubscription;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.net.Proxy proxy;
descriptor: Ljava/net/Proxy;
flags: (0x0002) ACC_PRIVATE
private javax.net.ssl.SSLSocketFactory sslSocketFactory;
descriptor: Ljavax/net/ssl/SSLSocketFactory;
flags: (0x0002) ACC_PRIVATE
public void <init>(com.microsoft.azure.AzureEnvironment, java.lang.String);
descriptor: (Lcom/microsoft/azure/AzureEnvironment;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "Bearer"
aconst_null
invokespecial com.microsoft.rest.credentials.TokenCredentials.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 1
ifnonnull 2
getstatic com.microsoft.azure.AzureEnvironment.AZURE:Lcom/microsoft/azure/AzureEnvironment;
goto 3
StackMap locals: com.microsoft.azure.credentials.AzureTokenCredentials com.microsoft.azure.AzureEnvironment java.lang.String
StackMap stack: com.microsoft.azure.credentials.AzureTokenCredentials
2: aload 1
StackMap locals: com.microsoft.azure.credentials.AzureTokenCredentials com.microsoft.azure.AzureEnvironment java.lang.String
StackMap stack: com.microsoft.azure.credentials.AzureTokenCredentials com.microsoft.azure.AzureEnvironment
3: putfield com.microsoft.azure.credentials.AzureTokenCredentials.environment:Lcom/microsoft/azure/AzureEnvironment;
4: aload 0
aload 2
putfield com.microsoft.azure.credentials.AzureTokenCredentials.domain:Ljava/lang/String;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/microsoft/azure/credentials/AzureTokenCredentials;
0 6 1 environment Lcom/microsoft/azure/AzureEnvironment;
0 6 2 domain Ljava/lang/String;
MethodParameters:
Name Flags
environment
domain
protected final java.lang.String getToken(okhttp3.Request);
descriptor: (Lokhttp3/Request;)Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual okhttp3.Request.url:()Lokhttp3/HttpUrl;
invokevirtual okhttp3.HttpUrl.toString:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
invokevirtual com.microsoft.azure.credentials.AzureTokenCredentials.environment:()Lcom/microsoft/azure/AzureEnvironment;
invokevirtual com.microsoft.azure.AzureEnvironment.managementEndpoint:()Ljava/lang/String;
astore 3
start local 3 2: aload 0
invokevirtual com.microsoft.azure.credentials.AzureTokenCredentials.environment:()Lcom/microsoft/azure/AzureEnvironment;
invokevirtual com.microsoft.azure.AzureEnvironment.endpoints:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 21
StackMap locals: com.microsoft.azure.credentials.AzureTokenCredentials okhttp3.Request java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 4: aload 2
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.CharSequence
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 21
5: aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
getstatic com.microsoft.azure.AzureEnvironment$Endpoint.KEYVAULT:Lcom/microsoft/azure/AzureEnvironment$Endpoint;
invokevirtual com.microsoft.azure.AzureEnvironment$Endpoint.identifier:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: ldc "https://%s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
ldc "^\\.*"
ldc ""
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
7: goto 22
8: StackMap locals: com.microsoft.azure.credentials.AzureTokenCredentials okhttp3.Request java.lang.String java.lang.String java.util.Map$Entry java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
getstatic com.microsoft.azure.AzureEnvironment$Endpoint.GRAPH:Lcom/microsoft/azure/AzureEnvironment$Endpoint;
invokevirtual com.microsoft.azure.AzureEnvironment$Endpoint.identifier:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
9: aload 0
invokevirtual com.microsoft.azure.credentials.AzureTokenCredentials.environment:()Lcom/microsoft/azure/AzureEnvironment;
invokevirtual com.microsoft.azure.AzureEnvironment.graphEndpoint:()Ljava/lang/String;
astore 3
10: goto 22
11: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
getstatic com.microsoft.azure.AzureEnvironment$Endpoint.LOG_ANALYTICS:Lcom/microsoft/azure/AzureEnvironment$Endpoint;
invokevirtual com.microsoft.azure.AzureEnvironment$Endpoint.identifier:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: aload 0
invokevirtual com.microsoft.azure.credentials.AzureTokenCredentials.environment:()Lcom/microsoft/azure/AzureEnvironment;
invokevirtual com.microsoft.azure.AzureEnvironment.logAnalyticsEndpoint:()Ljava/lang/String;
astore 3
13: goto 22
14: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
getstatic com.microsoft.azure.AzureEnvironment$Endpoint.APPLICATION_INSIGHTS:Lcom/microsoft/azure/AzureEnvironment$Endpoint;
invokevirtual com.microsoft.azure.AzureEnvironment$Endpoint.identifier:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: aload 0
invokevirtual com.microsoft.azure.credentials.AzureTokenCredentials.environment:()Lcom/microsoft/azure/AzureEnvironment;
invokevirtual com.microsoft.azure.AzureEnvironment.applicationInsightsEndpoint:()Ljava/lang/String;
astore 3
16: goto 22
17: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
getstatic com.microsoft.azure.AzureEnvironment$Endpoint.DATA_LAKE_STORE:Lcom/microsoft/azure/AzureEnvironment$Endpoint;
invokevirtual com.microsoft.azure.AzureEnvironment$Endpoint.identifier:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
18: aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
getstatic com.microsoft.azure.AzureEnvironment$Endpoint.DATA_LAKE_ANALYTICS:Lcom/microsoft/azure/AzureEnvironment$Endpoint;
invokevirtual com.microsoft.azure.AzureEnvironment$Endpoint.identifier:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
19: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.microsoft.azure.credentials.AzureTokenCredentials.environment:()Lcom/microsoft/azure/AzureEnvironment;
invokevirtual com.microsoft.azure.AzureEnvironment.dataLakeEndpointResourceId:()Ljava/lang/String;
astore 3
20: goto 22
end local 4 21: StackMap locals: com.microsoft.azure.credentials.AzureTokenCredentials okhttp3.Request java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
22: StackMap locals: com.microsoft.azure.credentials.AzureTokenCredentials okhttp3.Request java.lang.String java.lang.String
StackMap stack:
aload 0
aload 3
invokevirtual com.microsoft.azure.credentials.AzureTokenCredentials.getToken:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/microsoft/azure/credentials/AzureTokenCredentials;
0 23 1 request Lokhttp3/Request;
1 23 2 host Ljava/lang/String;
2 23 3 resource Ljava/lang/String;
4 21 4 endpoint Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
request
public abstract java.lang.String getToken(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
resource
public java.lang.String domain();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.microsoft.azure.credentials.AzureTokenCredentials.domain:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/microsoft/azure/credentials/AzureTokenCredentials;
public com.microsoft.azure.AzureEnvironment environment();
descriptor: ()Lcom/microsoft/azure/AzureEnvironment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.microsoft.azure.credentials.AzureTokenCredentials.environment:Lcom/microsoft/azure/AzureEnvironment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/microsoft/azure/credentials/AzureTokenCredentials;
public java.lang.String defaultSubscriptionId();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.microsoft.azure.credentials.AzureTokenCredentials.defaultSubscription:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/microsoft/azure/credentials/AzureTokenCredentials;
public com.microsoft.azure.credentials.AzureTokenCredentials withDefaultSubscriptionId(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/microsoft/azure/credentials/AzureTokenCredentials;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.microsoft.azure.credentials.AzureTokenCredentials.defaultSubscription:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/microsoft/azure/credentials/AzureTokenCredentials;
0 2 1 subscriptionId Ljava/lang/String;
MethodParameters:
Name Flags
subscriptionId
public java.net.Proxy proxy();
descriptor: ()Ljava/net/Proxy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.microsoft.azure.credentials.AzureTokenCredentials.proxy:Ljava/net/Proxy;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/microsoft/azure/credentials/AzureTokenCredentials;
public javax.net.ssl.SSLSocketFactory sslSocketFactory();
descriptor: ()Ljavax/net/ssl/SSLSocketFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.microsoft.azure.credentials.AzureTokenCredentials.sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/microsoft/azure/credentials/AzureTokenCredentials;
public com.microsoft.azure.credentials.AzureTokenCredentials withProxy(java.net.Proxy);
descriptor: (Ljava/net/Proxy;)Lcom/microsoft/azure/credentials/AzureTokenCredentials;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.microsoft.azure.credentials.AzureTokenCredentials.proxy:Ljava/net/Proxy;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/microsoft/azure/credentials/AzureTokenCredentials;
0 2 1 proxy Ljava/net/Proxy;
MethodParameters:
Name Flags
proxy
public com.microsoft.azure.credentials.AzureTokenCredentials withSslSocketFactory(javax.net.ssl.SSLSocketFactory);
descriptor: (Ljavax/net/ssl/SSLSocketFactory;)Lcom/microsoft/azure/credentials/AzureTokenCredentials;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.microsoft.azure.credentials.AzureTokenCredentials.sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/microsoft/azure/credentials/AzureTokenCredentials;
0 2 1 sslSocketFactory Ljavax/net/ssl/SSLSocketFactory;
MethodParameters:
Name Flags
sslSocketFactory
public void applyCredentialsFilter(okhttp3.OkHttpClient$Builder);
descriptor: (Lokhttp3/OkHttpClient$Builder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual okhttp3.OkHttpClient$Builder.interceptors:()Ljava/util/List;
new com.microsoft.azure.credentials.AzureTokenCredentialsInterceptor
dup
aload 0
invokespecial com.microsoft.azure.credentials.AzureTokenCredentialsInterceptor.<init>:(Lcom/microsoft/azure/credentials/AzureTokenCredentials;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 1
new com.microsoft.azure.credentials.AzureTokenCredentials$1
dup
aload 0
invokespecial com.microsoft.azure.credentials.AzureTokenCredentials$1.<init>:(Lcom/microsoft/azure/credentials/AzureTokenCredentials;)V
invokevirtual okhttp3.OkHttpClient$Builder.authenticator:(Lokhttp3/Authenticator;)Lokhttp3/OkHttpClient$Builder;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/microsoft/azure/credentials/AzureTokenCredentials;
0 3 1 clientBuilder Lokhttp3/OkHttpClient$Builder;
MethodParameters:
Name Flags
clientBuilder
}
SourceFile: "AzureTokenCredentials.java"
NestMembers:
com.microsoft.azure.credentials.AzureTokenCredentials$1
InnerClasses:
public final Endpoint = com.microsoft.azure.AzureEnvironment$Endpoint of com.microsoft.azure.AzureEnvironment
com.microsoft.azure.credentials.AzureTokenCredentials$1
public abstract Entry = java.util.Map$Entry of java.util.Map
public final Builder = okhttp3.OkHttpClient$Builder of okhttp3.OkHttpClient