AppCredentialsInterceptor Class
- java.
lang. Object - com.
microsoft. bot. connector. authentication. AppCredentialsInterceptor
- com.
Implements
public class AppCredentialsInterceptor
implements okhttp3.Interceptor
Token credentials filter for placing a token credential into request headers.
Constructor Summary
| Constructor | Description |
|---|---|
| AppCredentialsInterceptor(AppCredentials withCredentials) |
Initialize a Token |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| okhttp3.Response |
intercept(Interceptor.Chain chain)
Apply the credentials to the HTTP request. |
Methods inherited from java.lang.Object
Constructor Details
AppCredentialsInterceptor
public AppCredentialsInterceptor(AppCredentials withCredentials)
Initialize a TokenCredentialsFilter class with a TokenCredentials credential.
Parameters:
Method Details
intercept
public Response intercept(Interceptor.Chain chain)
Apply the credentials to the HTTP request.
Parameters:
Returns:
Throws: