CertificateAppCredentials 类
- java.
lang. Object - com.
microsoft. bot. connector. authentication. AppCredentials - com.
microsoft. bot. connector. authentication. CertificateAppCredentials
- com.
- com.
public class CertificateAppCredentials
extends AppCredentials
使用证书的 AppCredentials。
构造函数摘要
| 构造函数 | 说明 |
|---|---|
| CertificateAppCredentials(CertificateAppCredentialsOptions withOptions) |
初始化 App |
方法摘要
| 修饰符和类型 | 方法和描述 |
|---|---|
| protected Authenticator |
buildAuthenticator()
返回证书 |
方法继承自 AppCredentials
applyCredentialsFilter
buildAuthenticator
getAppId
getAuthTenant
getChannelAuthTenant
getToken
oAuthEndpoint
oAuthScope
setAppId
setAuthTenant
setChannelAuthTenant
方法继承自 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
构造函数详细信息
CertificateAppCredentials
public CertificateAppCredentials(CertificateAppCredentialsOptions withOptions)
初始化 AppCredentials 类的新实例。
参数:
withOptions
- CertificateAppCredentials 的选项。
引发:
java.security.cert.CertificateException
- 在 Authenticator 创建期间。
java.security.UnrecoverableKeyException
- 在 Authenticator 创建期间。
java.security.NoSuchAlgorithmException
- 在 Authenticator 创建期间。
java.security.KeyStoreException
- 在 Authenticator 创建期间。
java.security.NoSuchProviderException
- 在 Authenticator 创建期间。
java.io.IOException
- 在 Authenticator 创建期间。
方法详细信息
buildAuthenticator
protected Authenticator buildAuthenticator()
返回 CertificateAuthenticator。
替代:
CertificateAppCredentials.buildAuthenticator()返回:
Authenticator 对象。