CertificateAppCredentialsOptions Classe
- java.
lang. Object - com.
microsoft. bot. connector. authentication. CertificateAppCredentialsOptions
- com.
public class CertificateAppCredentialsOptions
Opzioni certificateAppCredentials.
Riepilogo dei costruttori
| Costruttore | Descrizione |
|---|---|
| CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password) |
Inizializza l'opzione Certificate |
| CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password, String withChannelAuthTenant, String withOAuthScope, boolean withSendX5c) |
Inizializza le opzioni di |
Riepilogo dei metodi
| Modificatore e tipo | Metodo e descrizione |
|---|---|
| java.lang.String |
getAppId()
Ottiene l'ID |
| java.lang.String |
getChannelAuthTenant()
Ottiene il tenant di autenticazione del canale. |
| java.io.InputStream |
getPkcs12Certificate()
Ottiene l'oggetto Input |
| java.lang.String |
getPkcs12Password()
Ottiene la password certiciate pkcs12. |
| boolean |
getSendX5c()
Ottiene se l'attestazione x5c (chiave pubblica del certificato) deve essere inviata al servizio token di sicurezza. |
| java.lang.String |
getoAuthScope()
Ottiene l'ambito OAuth. |
| void |
setAppId(String withAppId)
Imposta l'ID |
| void |
setChannelAuthTenant(String withChannelAuthTenant)
Imposta il tenant di autenticazione del canale. |
| void |
setPkcs12Certificate(InputStream withPkcs12Certificate)
Imposta Input |
| void |
setPkcs12Password(String withPkcs12Password)
Imposta la password certiciata pkcs12. |
| void |
setSendX5c(boolean withSendX5c)
Imposta se l'attestazione x5c (chiave pubblica del certificato) deve essere inviata al servizio token di sicurezza. |
| void |
setoAuthScope(String withOAuthScope)
Imposta l'ambito OAuth. |
Metodi ereditati da java.lang.Object
Dettagli costruttore
CertificateAppCredentialsOptions
public CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password)
Inizializza CertificateAppCredentialsOptions con gli argomenti obbligatori.
Parametri:
CertificateAppCredentialsOptions
public CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password, String withChannelAuthTenant, String withOAuthScope, boolean withSendX5c)
Inizializza CertificateAppCredentialsOptions.
Parametri:
Dettagli metodo
getAppId
public String getAppId()
Ottiene il Microsfot AppId.
Restituisce:
getChannelAuthTenant
public String getChannelAuthTenant()
Ottiene il tenant di autenticazione del canale.
Restituisce:
getPkcs12Certificate
public InputStream getPkcs12Certificate()
Ottiene InputStream per il certificato PKCS12.
Restituisce:
getPkcs12Password
public String getPkcs12Password()
Ottiene la password certiciate pkcs12.
Restituisce:
getSendX5c
public boolean getSendX5c()
Ottiene se l'attestazione x5c (chiave pubblica del certificato) deve essere inviata al servizio token di sicurezza.
Restituisce:
getoAuthScope
public String getoAuthScope()
Ottiene l'ambito OAuth.
Restituisce:
setAppId
public void setAppId(String withAppId)
Imposta il Microsfot AppId.
Parametri:
setChannelAuthTenant
public void setChannelAuthTenant(String withChannelAuthTenant)
Imposta il tenant di autenticazione del canale.
Parametri:
setPkcs12Certificate
public void setPkcs12Certificate(InputStream withPkcs12Certificate)
Imposta InputStream sul certificato PKCS12.
Parametri:
setPkcs12Password
public void setPkcs12Password(String withPkcs12Password)
Imposta la password certiciata pkcs12.
Parametri:
setSendX5c
public void setSendX5c(boolean withSendX5c)
Imposta se l'attestazione x5c (chiave pubblica del certificato) deve essere inviata al servizio token di sicurezza.
Parametri:
setoAuthScope
public void setoAuthScope(String withOAuthScope)
Imposta l'ambito OAuth.
Parametri: