CertificateAppCredentialsOptions Klasse

  • java.lang.Object
    • com.microsoft.bot.connector.authentication.CertificateAppCredentialsOptions

public class CertificateAppCredentialsOptions

CertificateAppCredentials-Optionen.

Zusammenfassung zum Konstruktor

Konstruktor Beschreibung
CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password)

Initialisiert das ZertifikatAppAnmeldeinformationenOptionen mit den erforderlichen Argumenten.

CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password, String withChannelAuthTenant, String withOAuthScope, boolean withSendX5c)

Initialisiert das ZertifikatAppAnmeldeinformationenOptionen.

Methodenzusammenfassung

Modifizierer und Typ Methode und Beschreibung
java.lang.String getAppId()

Ruft die Microsfot-AppID ab.

java.lang.String getChannelAuthTenant()

Ruft den Kanalauthentifizierungsmandanten ab.

java.io.InputStream getPkcs12Certificate()

Ruft den InputStream an das PKCS12-Zertifikat ab.

java.lang.String getPkcs12Password()

Ruft das pkcs12-Zertifikatkennwort ab.

boolean getSendX5c()

Ruft ab, wenn der x5c-Anspruch (öffentlicher Schlüssel des Zertifikats) an den STS gesendet werden soll.

java.lang.String getoAuthScope()

Ruft den OAuth-Bereich ab.

void setAppId(String withAppId)

Legt die Microsfot-AppID fest.

void setChannelAuthTenant(String withChannelAuthTenant)

Legt den Kanalauthentifizierungsmandanten fest.

void setPkcs12Certificate(InputStream withPkcs12Certificate)

Legt den InputStream auf das PKCS12-Zertifikat fest.

void setPkcs12Password(String withPkcs12Password)

Legt das pkcs12-Zertifikatkennwort fest.

void setSendX5c(boolean withSendX5c)

Legt fest, ob der x5c-Anspruch (öffentlicher Schlüssel des Zertifikats) an den STS gesendet werden soll.

void setoAuthScope(String withOAuthScope)

Legt den OAuth-Bereich fest.

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

Details zum Konstruktor

CertificateAppCredentialsOptions

public CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password)

Initialisiert die CertificateAppCredentialsOptions mit den erforderlichen Argumenten.

Parameter:

withAppId - Die Microsoft-App-ID.
withPkcs12Certificate - Der InputStream für das PKCs-Zertifikat.
withPkcs12Password - Das Pkcs-Zertifikatkennwort.

CertificateAppCredentialsOptions

public CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password, String withChannelAuthTenant, String withOAuthScope, boolean withSendX5c)

Initialisiert certificateAppCredentialsOptions.

Parameter:

withAppId - Die Microsoft-App-ID.
withPkcs12Certificate - Der InputStream für das PKCs-Zertifikat.
withPkcs12Password - Das Pkcs-Zertifikatkennwort.
withChannelAuthTenant - Wahlfrei. Der Oauth-Tokenmandant.
withOAuthScope - Wahlfrei. Der Bereich für das Token.
withSendX5c - Gibt an, ob der x5c-Anspruch (öffentlicher Schlüssel des Zertifikats) an den STS gesendet werden soll.

Details zur Methode

getAppId

public String getAppId()

Ruft die Microsfot AppId ab.

Gibt zurück:

Die App-ID.

getChannelAuthTenant

public String getChannelAuthTenant()

Ruft den Kanalauthentifizierungsmandanten ab.

Gibt zurück:

Der OAuth-Kanal-Authentifizierungsmandant.

getPkcs12Certificate

public InputStream getPkcs12Certificate()

Ruft den InputStream an das PKCS12-Zertifikat ab.

Gibt zurück:

Der InputStream für das Zertifikat.

getPkcs12Password

public String getPkcs12Password()

Ruft das pkcs12-Zertifikatkennwort ab.

Gibt zurück:

Das Kennwort für das Zertifikat.

getSendX5c

public boolean getSendX5c()

Ruft ab, wenn der x5c-Anspruch (öffentlicher Schlüssel des Zertifikats) an den STS gesendet werden soll.

Gibt zurück:

true zum Senden von x5c.

getoAuthScope

public String getoAuthScope()

Ruft den OAuth-Bereich ab.

Gibt zurück:

The OAuthScope.

setAppId

public void setAppId(String withAppId)

Legt die Microsfot AppId fest.

Parameter:

withAppId - Die App-ID.

setChannelAuthTenant

public void setChannelAuthTenant(String withChannelAuthTenant)

Legt den Kanalauthentifizierungsmandanten fest.

Parameter:

withChannelAuthTenant - Der OAuth-Kanal-Authentifizierungsmandant.

setPkcs12Certificate

public void setPkcs12Certificate(InputStream withPkcs12Certificate)

Legt den InputStream auf das PKCS12-Zertifikat fest.

Parameter:

withPkcs12Certificate - Der InputStream für das Zertifikat.

setPkcs12Password

public void setPkcs12Password(String withPkcs12Password)

Legt das pkcs12-Zertifikatkennwort fest.

Parameter:

withPkcs12Password - Das Kennwort für das Zertifikat.

setSendX5c

public void setSendX5c(boolean withSendX5c)

Legt fest, ob der x5c-Anspruch (öffentlicher Schlüssel des Zertifikats) an den STS gesendet werden soll.

Parameter:

withSendX5c - true zum Senden von x5c.

setoAuthScope

public void setoAuthScope(String withOAuthScope)

Legt den OAuth-Bereich fest.

Parameter:

withOAuthScope - The OAuthScope.

Gilt für: