MicrosoftAppCredentials Klasse
- java.
lang. Object - com.
microsoft. bot. connector. authentication. AppCredentials - com.
microsoft. bot. connector. authentication. MicrosoftAppCredentials
- com.
- com.
public class MicrosoftAppCredentials
extends AppCredentials
MicrosoftAppCredentials-Authentifizierungsimplementierung und Cache.
Feldzusammenfassung
| Modifizierer und Typ | Feld und Beschreibung |
|---|---|
| static final java.lang.String |
MICROSOFTAPPID
Die Konfigurationseigenschaft für das Microsoft-App-Kennwort. |
| static final java.lang.String |
MICROSOFTAPPPASSWORD
Die Konfigurationseigenschaft für die Microsoft-App-ID. |
Zusammenfassung zum Konstruktor
| Konstruktor | Beschreibung |
|---|---|
| MicrosoftAppCredentials(String withAppId, String withAppPassword) |
Initialisiert eine neue Instanz der Microsoft |
| MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant) |
Initialisiert eine neue Instanz der Microsoft |
| MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope) |
Initialisiert eine neue Instanz der Microsoft |
Methodenzusammenfassung
| Modifizierer und Typ | Methode und Beschreibung |
|---|---|
| protected Authenticator |
buildAuthenticator()
Gibt einen Anmeldeinformationsauthentifikator zurück. |
|
static
Microsoft |
empty()
Gibt einen leeren Satz von Anmeldeinformationen zurück. |
| java.lang.String |
getAppPassword()
Ruft das App-Kennwort für diese Anmeldeinformationen ab. |
| void |
setAppPassword(String withAppPassword)
Legt das App-Kennwort für diese Anmeldeinformationen fest. |
Geerbte Methoden von AppCredentials
Geerbte Methoden von java.lang.Object
Felddetails
MICROSOFTAPPID
public static final String MICROSOFTAPPID
Die Konfigurationseigenschaft für das Microsoft-App-Kennwort.
MICROSOFTAPPPASSWORD
public static final String MICROSOFTAPPPASSWORD
Die Konfigurationseigenschaft für die Microsoft-App-ID.
Details zum Konstruktor
MicrosoftAppCredentials
public MicrosoftAppCredentials(String withAppId, String withAppPassword)
Initialisiert eine neue Instanz der MicrosoftAppCredentials-Klasse.
Parameter:
MicrosoftAppCredentials
public MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant)
Initialisiert eine neue Instanz der MicrosoftAppCredentials-Klasse.
Parameter:
MicrosoftAppCredentials
public MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope)
Initialisiert eine neue Instanz der MicrosoftAppCredentials-Klasse.
Parameter:
Details zur Methode
buildAuthenticator
protected Authenticator buildAuthenticator()
Gibt einen Anmeldeinformationsauthentifikator zurück.
Überschreibt:
MicrosoftAppCredentials.buildAuthenticator()Gibt zurück:
Löst aus:
empty
public static MicrosoftAppCredentials empty()
Gibt einen leeren Satz von Anmeldeinformationen zurück.
Gibt zurück:
getAppPassword
public String getAppPassword()
Ruft das App-Kennwort für diese Anmeldeinformationen ab.
Gibt zurück:
setAppPassword
public void setAppPassword(String withAppPassword)
Legt das App-Kennwort für diese Anmeldeinformationen fest.
Parameter: