CertificateAppCredentialsOptions 類別
- java.
lang. Object - com.
microsoft. bot. connector. authentication. CertificateAppCredentialsOptions
- com.
public class CertificateAppCredentialsOptions
CertificateAppCredentials 選項。
建構函式摘要
方法摘要
| 修飾詞與類型 | 方法與描述 |
|---|---|
| java.lang.String |
getAppId()
取得Microsfot應用程式 |
| java.lang.String |
getChannelAuthTenant()
取得通道驗證租使用者。 |
| java.io.InputStream |
getPkcs12Certificate()
取得 PKCS12 憑證的輸入 |
| java.lang.String |
getPkcs12Password()
取得pkcs12憑證密碼。 |
| boolean |
getSendX5c()
取得是否應該將 x5c 宣告(憑證的公鑰)傳送至 STS。 |
| java.lang.String |
getoAuthScope()
取得 OAuth 範圍。 |
| void |
setAppId(String withAppId)
設定 Microsfot 應用程式 |
| void |
setChannelAuthTenant(String withChannelAuthTenant)
設定通道驗證租使用者。 |
| void |
setPkcs12Certificate(InputStream withPkcs12Certificate)
將 Input |
| void |
setPkcs12Password(String withPkcs12Password)
設定 pkcs12 憑證密碼。 |
| void |
setSendX5c(boolean withSendX5c)
設定是否應該將 x5c 宣告(憑證的公鑰)傳送至 STS。 |
| void |
setoAuthScope(String withOAuthScope)
設定 OAuth 範圍。 |
方法繼承來源 java.lang.Object
建構函式詳細資料
CertificateAppCredentialsOptions
public CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password)
使用必要的自變數,初始化 CertificateAppCredentialsOptions。
參數:
CertificateAppCredentialsOptions
public CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password, String withChannelAuthTenant, String withOAuthScope, boolean withSendX5c)
初始化 CertificateAppCredentialsOptions。
參數:
方法詳細資料
getAppId
public String getAppId()
取得Microsfot AppId。
傳回:
getChannelAuthTenant
public String getChannelAuthTenant()
取得通道驗證租使用者。
傳回:
getPkcs12Certificate
public InputStream getPkcs12Certificate()
取得 PKCS12 憑證的 InputStream。
傳回:
getPkcs12Password
public String getPkcs12Password()
取得pkcs12憑證密碼。
傳回:
getSendX5c
public boolean getSendX5c()
取得是否應該將 x5c 宣告(憑證的公鑰)傳送至 STS。
傳回:
getoAuthScope
public String getoAuthScope()
取得 OAuth 範圍。
傳回:
setAppId
public void setAppId(String withAppId)
設定Microsfot AppId。
參數:
setChannelAuthTenant
public void setChannelAuthTenant(String withChannelAuthTenant)
設定通道驗證租使用者。
參數:
setPkcs12Certificate
public void setPkcs12Certificate(InputStream withPkcs12Certificate)
將 InputStream 設定為 PKCS12 憑證。
參數:
setPkcs12Password
public void setPkcs12Password(String withPkcs12Password)
設定 pkcs12 憑證密碼。
參數:
setSendX5c
public void setSendX5c(boolean withSendX5c)
設定是否應該將 x5c 宣告(憑證的公鑰)傳送至 STS。
參數:
setoAuthScope
public void setoAuthScope(String withOAuthScope)
設定 OAuth 範圍。
參數: