CertificateAppCredentialsOptions Classe

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

public class CertificateAppCredentialsOptions

Options CertificateAppCredentials.

Récapitulatif du constructeur

Constructeur Description
CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password)

Initialise le certificatApplicationInformations d’identificationOptions avec les arguments requis.

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

Initialise les options d'd’informations d’identificationd’application de certificat.

Résumé de la méthode

Modificateur et type Méthode et description
java.lang.String getAppId()

Obtient l’IDde l’application Microsfot.

java.lang.String getChannelAuthTenant()

Obtient le locataire d’authentification de canal.

java.io.InputStream getPkcs12Certificate()

Obtient le flux d’entréevers le certificat PKCS12.

java.lang.String getPkcs12Password()

Obtient le mot de passe pkcs12 certiciate.

boolean getSendX5c()

Obtient si la revendication x5c (clé publique du certificat) doit être envoyée au STS.

java.lang.String getoAuthScope()

Obtient l’étendue OAuth.

void setAppId(String withAppId)

Définit l’id dede l’application Microsfot.

void setChannelAuthTenant(String withChannelAuthTenant)

Définit le locataire d’authentification de canal.

void setPkcs12Certificate(InputStream withPkcs12Certificate)

Définit le flux d’entréesur le certificat PKCS12.

void setPkcs12Password(String withPkcs12Password)

Définit le mot de passe pkcs12 certiciate.

void setSendX5c(boolean withSendX5c)

Définit si la revendication x5c (clé publique du certificat) doit être envoyée au STS.

void setoAuthScope(String withOAuthScope)

Définit l’étendue OAuth.

Méthodes héritées de 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

Détails du constructeur

CertificateAppCredentialsOptions

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

Initialise CertificateAppCredentialsOptions avec les arguments requis.

Paramètres:

withAppId - ID d’application Microsoft.
withPkcs12Certificate - InputStream au certificat pkcs.
withPkcs12Password - Mot de passe du certificat pkcs.

CertificateAppCredentialsOptions

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

Initialise CertificateAppCredentialsOptions.

Paramètres:

withAppId - ID d’application Microsoft.
withPkcs12Certificate - InputStream au certificat pkcs.
withPkcs12Password - Mot de passe du certificat pkcs.
withChannelAuthTenant - Optionnel. Locataire de jeton oauth.
withOAuthScope - Optionnel. Étendue du jeton.
withSendX5c - Spécifie si la revendication x5c (clé publique du certificat) doit être envoyée au STS.

Détails de la méthode

getAppId

public String getAppId()

Obtient l’AppId Microsfot.

Retours:

ID de l’application.

getChannelAuthTenant

public String getChannelAuthTenant()

Obtient le locataire d’authentification de canal.

Retours:

Locataire d’authentification du canal OAuth.

getPkcs12Certificate

public InputStream getPkcs12Certificate()

Obtient InputStream au certificat PKCS12.

Retours:

InputStream au certificat.

getPkcs12Password

public String getPkcs12Password()

Obtient le mot de passe pkcs12 certiciate.

Retours:

Mot de passe du certificat.

getSendX5c

public boolean getSendX5c()

Obtient si la revendication x5c (clé publique du certificat) doit être envoyée au STS.

Retours:

true pour envoyer x5c.

getoAuthScope

public String getoAuthScope()

Obtient l’étendue OAuth.

Retours:

The OAuthScope.

setAppId

public void setAppId(String withAppId)

Définit l’AppId Microsfot.

Paramètres:

withAppId - ID de l’application.

setChannelAuthTenant

public void setChannelAuthTenant(String withChannelAuthTenant)

Définit le locataire d’authentification de canal.

Paramètres:

withChannelAuthTenant - Locataire d’authentification du canal OAuth.

setPkcs12Certificate

public void setPkcs12Certificate(InputStream withPkcs12Certificate)

Définit InputStream sur le certificat PKCS12.

Paramètres:

withPkcs12Certificate - InputStream au certificat.

setPkcs12Password

public void setPkcs12Password(String withPkcs12Password)

Définit le mot de passe pkcs12 certiciate.

Paramètres:

withPkcs12Password - Mot de passe du certificat.

setSendX5c

public void setSendX5c(boolean withSendX5c)

Définit si la revendication x5c (clé publique du certificat) doit être envoyée au STS.

Paramètres:

withSendX5c - true pour envoyer x5c.

setoAuthScope

public void setoAuthScope(String withOAuthScope)

Définit l’étendue OAuth.

Paramètres:

withOAuthScope - The OAuthScope.

S’applique à