MicrosoftAppCredentials 類別
- java.
lang. Object - com.
microsoft. bot. connector. authentication. AppCredentials - com.
microsoft. bot. connector. authentication. MicrosoftAppCredentials
- com.
- com.
public class MicrosoftAppCredentials
extends AppCredentials
MicrosoftAppCredentials 驗證實作和快取。
欄位摘要
| 修飾詞與類型 | 欄位與描述 |
|---|---|
| static final java.lang.String |
MICROSOFTAPPID
Microsoft應用程式 Password 的組態屬性。 |
| static final java.lang.String |
MICROSOFTAPPPASSWORD
Microsoft應用程式標識碼的組態屬性。 |
建構函式摘要
| 建構函式 | Description |
|---|---|
| MicrosoftAppCredentials(String withAppId, String withAppPassword) |
初始化 Microsoft |
| MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant) |
初始化 Microsoft |
| MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope) |
初始化 Microsoft |
方法摘要
| 修飾詞與類型 | 方法與描述 |
|---|---|
| protected Authenticator |
buildAuthenticator()
傳回認證驗證器。 |
|
static
Microsoft |
empty()
傳回一組空的認證。 |
| java.lang.String |
getAppPassword()
取得此認證的應用程式密碼。 |
| void |
setAppPassword(String withAppPassword)
設定此認證的應用程式密碼。 |
方法繼承來源 AppCredentials
方法繼承來源 java.lang.Object
欄位詳細資料
MICROSOFTAPPID
public static final String MICROSOFTAPPID
Microsoft應用程式 Password 的組態屬性。
MICROSOFTAPPPASSWORD
public static final String MICROSOFTAPPPASSWORD
Microsoft應用程式標識碼的組態屬性。
建構函式詳細資料
MicrosoftAppCredentials
public MicrosoftAppCredentials(String withAppId, String withAppPassword)
初始化 MicrosoftAppCredentials 類別的新實例。
參數:
MicrosoftAppCredentials
public MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant)
初始化 MicrosoftAppCredentials 類別的新實例。
參數:
MicrosoftAppCredentials
public MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope)
初始化 MicrosoftAppCredentials 類別的新實例。
參數:
方法詳細資料
buildAuthenticator
protected Authenticator buildAuthenticator()
傳回認證驗證器。
覆寫:
MicrosoftAppCredentials.buildAuthenticator()傳回:
擲回:
empty
public static MicrosoftAppCredentials empty()
傳回一組空的認證。
傳回:
getAppPassword
public String getAppPassword()
取得此認證的應用程式密碼。
傳回:
setAppPassword
public void setAppPassword(String withAppPassword)
設定此認證的應用程式密碼。
參數: