OAuthConfiguration 類別
- java.
lang. Object - com.
microsoft. bot. connector. authentication. OAuthConfiguration
- com.
public class OAuthConfiguration
OAuth 用戶端認證驗證的設定。
建構函式摘要
| 建構函式 | Description |
|---|---|
| OAuthConfiguration(String withAuthority, String withScope) |
使用授權單位和範圍建構。 |
方法摘要
| 修飾詞與類型 | 方法與描述 |
|---|---|
| java.lang.String |
getAuthority()
取得 o |
| java.lang.String |
getScope()
取得驗證 |
| void |
setAuthority(String withAuthority)
設定 o |
| void |
setScope(String withScope)
設定驗證 |
方法繼承來源 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
建構函式詳細資料
OAuthConfiguration
public OAuthConfiguration(String withAuthority, String withScope)
使用授權單位和範圍建構。
參數:
withAuthority
- 驗證授權單位。
withScope
- 驗證範圍。
方法詳細資料
getAuthority
public String getAuthority()
取得用於驗證的 oAuth 授權單位。
傳回:
用於驗證的 OAuth 授權單位。
getScope
public String getScope()
取得驗證的 oAuth 範圍。
傳回:
驗證的 OAuth 範圍。
setAuthority
public void setAuthority(String withAuthority)
設定 oAuth Authority 以進行驗證。
參數:
withAuthority
- 用於驗證的 oAuth 授權單位。
setScope
public void setScope(String withScope)
設定驗證的 oAuth 範圍。
參數:
withScope
- 用於驗證的 oAuth 授權單位。