你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AuxiliaryCredentialsInterceptor Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.fluentcore.utils.AuxiliaryCredentialsInterceptor

Implements

okhttp3.Interceptor

public final class AuxiliaryCredentialsInterceptor
implements okhttp3.Interceptor

An interceptor for cross-tenant authorization in Azure.

Constructor Summary

Constructor Description
AuxiliaryCredentialsInterceptor(AzureTokenCredentials[] credentials)

Initialize an auxiliary interceptor with the list of AzureTokenCredentials.

Method Summary

Modifier and Type Method and Description
okhttp3.Response intercept(Interceptor.Chain chain)

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AuxiliaryCredentialsInterceptor

public AuxiliaryCredentialsInterceptor(AzureTokenCredentials[] credentials)

Initialize an auxiliary interceptor with the list of AzureTokenCredentials.

Parameters:

credentials - the AzureTokenCredentials list

Method Details

intercept

public Response intercept(Interceptor.Chain chain)

Parameters:

chain

Throws:

java.io.IOException

Applies to