MicrosoftGovernmentAppCredentials 类
- java.
lang. Object - com.
microsoft. bot. connector. authentication. AppCredentials - com.
microsoft. bot. connector. authentication. MicrosoftAppCredentials - com.
microsoft. bot. connector. authentication. MicrosoftGovernmentAppCredentials
- com.
- com.
- com.
public class MicrosoftGovernmentAppCredentials
extends MicrosoftAppCredentials
MicrosoftGovernmentAppCredentials 身份验证实现。
构造函数摘要
| 构造函数 | 说明 |
|---|---|
| MicrosoftGovernmentAppCredentials(String appId, String password) |
初始化 Microsoft |
| MicrosoftGovernmentAppCredentials(String appId, String password, String oAuthScope) |
初始化 Microsoft |
| MicrosoftGovernmentAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope) |
初始化 Microsoft |
方法摘要
| 修饰符和类型 | 方法和描述 |
|---|---|
|
static
Microsoft |
empty()
一组空的凭据。 |
| java.lang.String |
oAuthEndpoint()
获取要使用的 Gov OAuth 终结点。 |
方法继承自 AppCredentials
方法继承自 MicrosoftAppCredentials
方法继承自 java.lang.Object
构造函数详细信息
MicrosoftGovernmentAppCredentials
public MicrosoftGovernmentAppCredentials(String appId, String password)
初始化 MicrosoftGovernmentAppCredentials 类的新实例。
参数:
MicrosoftGovernmentAppCredentials
public MicrosoftGovernmentAppCredentials(String appId, String password, String oAuthScope)
初始化 MicrosoftGovernmentAppCredentials 类的新实例。
参数:
MicrosoftGovernmentAppCredentials
public MicrosoftGovernmentAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope)
初始化 MicrosoftGovernmentAppCredentials 类的新实例。
参数:
方法详细信息
empty
public static MicrosoftGovernmentAppCredentials empty()
一组空的凭据。
返回:
oAuthEndpoint
public String oAuthEndpoint()
获取要使用的 Gov OAuth 终结点。
替代:
MicrosoftGovernmentAppCredentials.oAuthEndpoint()返回: