MicrosoftAppCredentials Klasse

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 MicrosoftAppCredentials-Klasse.

MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant)

Initialisiert eine neue Instanz der MicrosoftAppCredentials-Klasse.

MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope)

Initialisiert eine neue Instanz der MicrosoftAppCredentials-Klasse.

Methodenzusammenfassung

Modifizierer und Typ Methode und Beschreibung
protected Authenticator buildAuthenticator()

Gibt einen Anmeldeinformationsauthentifikator zurück.

static MicrosoftAppCredentials 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

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

withAppId - Die Microsoft-App-ID.
withAppPassword - Das Microsoft-App-Kennwort.

MicrosoftAppCredentials

public MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant)

Initialisiert eine neue Instanz der MicrosoftAppCredentials-Klasse.

Parameter:

withAppId - Die Microsoft-App-ID.
withAppPassword - Das Microsoft-App-Kennwort.
withChannelAuthTenant - Wahlfrei. Der Oauth-Tokenmandant.

MicrosoftAppCredentials

public MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope)

Initialisiert eine neue Instanz der MicrosoftAppCredentials-Klasse.

Parameter:

withAppId - Die Microsoft-App-ID.
withAppPassword - Das Microsoft-App-Kennwort.
withChannelAuthTenant - Wahlfrei. Der Oauth-Tokenmandant.
withOAuthScope - Der Bereich für das Token.

Details zur Methode

buildAuthenticator

protected Authenticator buildAuthenticator()

Gibt einen Anmeldeinformationsauthentifikator zurück.

Überschreibt:

MicrosoftAppCredentials.buildAuthenticator()

Gibt zurück:

Ein CredentialsAuthenticator.

Löst aus:

java.net.MalformedURLException - Ungültige Endpunkt-URL.

empty

public static MicrosoftAppCredentials empty()

Gibt einen leeren Satz von Anmeldeinformationen zurück.

Gibt zurück:

Ein leerer Satz von MicrosoftAppCredentials.

getAppPassword

public String getAppPassword()

Ruft das App-Kennwort für diese Anmeldeinformationen ab.

Gibt zurück:

Das App-Kennwort.

setAppPassword

public void setAppPassword(String withAppPassword)

Legt das App-Kennwort für diese Anmeldeinformationen fest.

Parameter:

withAppPassword - Das App-Kennwort.

Gilt für: