AppCredentialsInterceptor Classe
- java.
lang. Object - com.
microsoft. bot. connector. authentication. AppCredentialsInterceptor
- com.
Implémente
public class AppCredentialsInterceptor
implements okhttp3.Interceptor
Filtre d’informations d’identification de jeton pour placer des informations d’identification de jeton dans des en-têtes de requête.
Récapitulatif du constructeur
| Constructeur | Description |
|---|---|
| AppCredentialsInterceptor(AppCredentials withCredentials) |
Initialisez un jeton |
Résumé de la méthode
| Modificateur et type | Méthode et description |
|---|---|
| okhttp3.Response |
intercept(Interceptor.Chain chain)
Appliquez les informations d’identification à la requête HTTP. |
Méthodes héritées de java.lang.Object
Détails du constructeur
AppCredentialsInterceptor
public AppCredentialsInterceptor(AppCredentials withCredentials)
Initialisez une classe TokenCredentialsFilter avec des informations d’identification TokenCredentials.
Paramètres:
Détails de la méthode
intercept
public Response intercept(Interceptor.Chain chain)
Appliquez les informations d’identification à la requête HTTP.
Paramètres:
Retours:
Exception: