MicrosoftAppCredentials Classe
- java.
lang. Object - com.
microsoft. bot. connector. authentication. AppCredentials - com.
microsoft. bot. connector. authentication. MicrosoftAppCredentials
- com.
- com.
public class MicrosoftAppCredentials
extends AppCredentials
Implémentation et cache d’authentification MicrosoftAppCredentials.
Récapitulatif du champ
| Modificateur et type | Champ et description |
|---|---|
| static final java.lang.String |
MICROSOFTAPPID
Propriété de configuration du mot de passe de l’application Microsoft. |
| static final java.lang.String |
MICROSOFTAPPPASSWORD
Propriété de configuration de l’ID d’application Microsoft. |
Récapitulatif du constructeur
| Constructeur | Description |
|---|---|
| MicrosoftAppCredentials(String withAppId, String withAppPassword) |
Initialise une nouvelle instance de la classe Microsoft |
| MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant) |
Initialise une nouvelle instance de la classe Microsoft |
| MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope) |
Initialise une nouvelle instance de la classe Microsoft |
Résumé de la méthode
| Modificateur et type | Méthode et description |
|---|---|
| protected Authenticator |
buildAuthenticator()
Retourne un authentificateur d’informations d’identification. |
|
static
Microsoft |
empty()
Retourne un ensemble vide d’informations d’identification. |
| java.lang.String |
getAppPassword()
Obtient le mot de passe de l’application pour ces informations d’identification. |
| void |
setAppPassword(String withAppPassword)
Définit le mot de passe de l’application pour ces informations d’identification. |
Méthodes héritées de AppCredentials
Méthodes héritées de java.lang.Object
Détails du champ
MICROSOFTAPPID
public static final String MICROSOFTAPPID
Propriété de configuration du mot de passe de l’application Microsoft.
MICROSOFTAPPPASSWORD
public static final String MICROSOFTAPPPASSWORD
Propriété de configuration de l’ID d’application Microsoft.
Détails du constructeur
MicrosoftAppCredentials
public MicrosoftAppCredentials(String withAppId, String withAppPassword)
Initialise une nouvelle instance de la classe MicrosoftAppCredentials.
Paramètres:
MicrosoftAppCredentials
public MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant)
Initialise une nouvelle instance de la classe MicrosoftAppCredentials.
Paramètres:
MicrosoftAppCredentials
public MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope)
Initialise une nouvelle instance de la classe MicrosoftAppCredentials.
Paramètres:
Détails de la méthode
buildAuthenticator
protected Authenticator buildAuthenticator()
Retourne un authentificateur d’informations d’identification.
Remplacements:
MicrosoftAppCredentials.buildAuthenticator()Retours:
Exception:
empty
public static MicrosoftAppCredentials empty()
Retourne un ensemble vide d’informations d’identification.
Retours:
getAppPassword
public String getAppPassword()
Obtient le mot de passe de l’application pour ces informations d’identification.
Retours:
setAppPassword
public void setAppPassword(String withAppPassword)
Définit le mot de passe de l’application pour ces informations d’identification.
Paramètres: