public class TokenCredentialsInterceptor extends Object implements okhttp3.Interceptor
| Constructor and Description |
|---|
TokenCredentialsInterceptor(TokenCredentials credentials)
Initialize a TokenCredentialsFilter class with a
TokenCredentials credential.
|
public TokenCredentialsInterceptor(TokenCredentials credentials)
credentials - a TokenCredentials instancepublic okhttp3.Response intercept(okhttp3.Interceptor.Chain chain)
throws IOException
intercept in interface okhttp3.InterceptorIOException/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/