CertificateAppCredentialsOptions Classe
- java.
lang. Object - com.
microsoft. bot. connector. authentication. CertificateAppCredentialsOptions
- com.
public class CertificateAppCredentialsOptions
Options CertificateAppCredentials.
Récapitulatif du constructeur
| Constructeur | Description |
|---|---|
| CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password) |
Initialise le certificat |
| CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password, String withChannelAuthTenant, String withOAuthScope, boolean withSendX5c) |
Initialise les options d' |
Résumé de la méthode
| Modificateur et type | Méthode et description |
|---|---|
| java.lang.String |
getAppId()
Obtient l’ID |
| java.lang.String |
getChannelAuthTenant()
Obtient le locataire d’authentification de canal. |
| java.io.InputStream |
getPkcs12Certificate()
Obtient le flux d’entrée |
| 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 de |
| void |
setChannelAuthTenant(String withChannelAuthTenant)
Définit le locataire d’authentification de canal. |
| void |
setPkcs12Certificate(InputStream withPkcs12Certificate)
Définit le flux d’entrée |
| 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
Détails du constructeur
CertificateAppCredentialsOptions
public CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password)
Initialise CertificateAppCredentialsOptions avec les arguments requis.
Paramètres:
CertificateAppCredentialsOptions
public CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password, String withChannelAuthTenant, String withOAuthScope, boolean withSendX5c)
Initialise CertificateAppCredentialsOptions.
Paramètres:
Détails de la méthode
getAppId
public String getAppId()
Obtient l’AppId Microsfot.
Retours:
getChannelAuthTenant
public String getChannelAuthTenant()
Obtient le locataire d’authentification de canal.
Retours:
getPkcs12Certificate
public InputStream getPkcs12Certificate()
Obtient InputStream au certificat PKCS12.
Retours:
getPkcs12Password
public String getPkcs12Password()
Obtient le mot de passe pkcs12 certiciate.
Retours:
getSendX5c
public boolean getSendX5c()
Obtient si la revendication x5c (clé publique du certificat) doit être envoyée au STS.
Retours:
getoAuthScope
public String getoAuthScope()
Obtient l’étendue OAuth.
Retours:
setAppId
public void setAppId(String withAppId)
Définit l’AppId Microsfot.
Paramètres:
setChannelAuthTenant
public void setChannelAuthTenant(String withChannelAuthTenant)
Définit le locataire d’authentification de canal.
Paramètres:
setPkcs12Certificate
public void setPkcs12Certificate(InputStream withPkcs12Certificate)
Définit InputStream sur le certificat PKCS12.
Paramètres:
setPkcs12Password
public void setPkcs12Password(String withPkcs12Password)
Définit le mot de passe pkcs12 certiciate.
Paramètres:
setSendX5c
public void setSendX5c(boolean withSendX5c)
Définit si la revendication x5c (clé publique du certificat) doit être envoyée au STS.
Paramètres:
setoAuthScope
public void setoAuthScope(String withOAuthScope)
Définit l’étendue OAuth.
Paramètres: