添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password)

使用所需的参数初始化证书 应用 凭据 选项。

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

初始化证书 应用 凭据 选项。

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

使用所需的参数初始化 CertificateAppCredentialsOptions。

Parameters:

withAppId - Microsoft 应用 ID。 withPkcs12Certificate - pkcs 证书的 InputStream。 withPkcs12Password - pkcs 证书密码。

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

初始化 CertificateAppCredentialsOptions。

Parameters:

withAppId - Microsoft 应用 ID。 withPkcs12Certificate - pkcs 证书的 InputStream。 withPkcs12Password - pkcs 证书密码。 withChannelAuthTenant - 可选。 oauth 令牌租户。 withOAuthScope - 可选。 令牌的范围。 withSendX5c - 指定是否应将 x5c 声明 (证书) 公钥发送到 STS。