public final class com.microsoft.azure.credentials.AzureTokenCredentialsInterceptor implements okhttp3.Interceptor
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.microsoft.azure.credentials.AzureTokenCredentialsInterceptor
super_class: java.lang.Object
{
private com.microsoft.azure.credentials.AzureTokenCredentials credentials;
descriptor: Lcom/microsoft/azure/credentials/AzureTokenCredentials;
flags: (0x0002) ACC_PRIVATE
void <init>(com.microsoft.azure.credentials.AzureTokenCredentials);
descriptor: (Lcom/microsoft/azure/credentials/AzureTokenCredentials;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // com.microsoft.azure.credentials.AzureTokenCredentialsInterceptor this
start local 1 // com.microsoft.azure.credentials.AzureTokenCredentials credentials
0: .line 30
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 31
aload 0 /* this */
aload 1 /* credentials */
putfield com.microsoft.azure.credentials.AzureTokenCredentialsInterceptor.credentials:Lcom/microsoft/azure/credentials/AzureTokenCredentials;
2: .line 32
return
end local 1 // com.microsoft.azure.credentials.AzureTokenCredentials credentials
end local 0 // com.microsoft.azure.credentials.AzureTokenCredentialsInterceptor this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/microsoft/azure/credentials/AzureTokenCredentialsInterceptor;
0 3 1 credentials Lcom/microsoft/azure/credentials/AzureTokenCredentials;
MethodParameters:
Name Flags
credentials
public okhttp3.Response intercept(okhttp3.Interceptor$Chain);
descriptor: (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 // com.microsoft.azure.credentials.AzureTokenCredentialsInterceptor this
start local 1 // okhttp3.Interceptor$Chain chain
0: .line 36
aload 0 /* this */
getfield com.microsoft.azure.credentials.AzureTokenCredentialsInterceptor.credentials:Lcom/microsoft/azure/credentials/AzureTokenCredentials;
aload 1 /* chain */
invokeinterface okhttp3.Interceptor$Chain.request:()Lokhttp3/Request;
invokevirtual com.microsoft.azure.credentials.AzureTokenCredentials.getToken:(Lokhttp3/Request;)Ljava/lang/String;
astore 2 /* token */
start local 2 // java.lang.String token
1: .line 37
aload 1 /* chain */
invokeinterface okhttp3.Interceptor$Chain.request:()Lokhttp3/Request;
invokevirtual okhttp3.Request.newBuilder:()Lokhttp3/Request$Builder;
2: .line 38
ldc "Authorization"
new java.lang.StringBuilder
dup
ldc "Bearer "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2 /* token */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual okhttp3.Request$Builder.header:(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Request$Builder;
3: .line 39
invokevirtual okhttp3.Request$Builder.build:()Lokhttp3/Request;
4: .line 37
astore 3 /* newRequest */
start local 3 // okhttp3.Request newRequest
5: .line 40
aload 1 /* chain */
aload 3 /* newRequest */
invokeinterface okhttp3.Interceptor$Chain.proceed:(Lokhttp3/Request;)Lokhttp3/Response;
areturn
end local 3 // okhttp3.Request newRequest
end local 2 // java.lang.String token
end local 1 // okhttp3.Interceptor$Chain chain
end local 0 // com.microsoft.azure.credentials.AzureTokenCredentialsInterceptor this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/microsoft/azure/credentials/AzureTokenCredentialsInterceptor;
0 6 1 chain Lokhttp3/Interceptor$Chain;
1 6 2 token Ljava/lang/String;
5 6 3 newRequest Lokhttp3/Request;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
chain
}
SourceFile: "AzureTokenCredentialsInterceptor.java"
InnerClasses:
public abstract Chain = okhttp3.Interceptor$Chain of okhttp3.Interceptor
public Builder = okhttp3.Request$Builder of okhttp3.Request