ConfigurationServiceClientCredentialFactory class
ConfigurationServiceClientCredentialFactoryOptions または Configuration インスタンスを使用して、AppId とアプリ パスワードを使用して ServiceClientCredentials を構築する ServiceClientCredentialsFactory。
- Extends
-
PasswordServiceClientCredentialFactory
コンストラクター
Configuration |
ConfigurationServiceClientCredentialFactory クラスの新しいインスタンスを初期化します。 |
継承されたプロパティ
app |
この資格情報のアプリ ID。 |
password | この資格情報のアプリ パスワード。 |
tenant |
ボットが作成される Azure AD テナントのテナント ID。 |
メソッド
create |
|
is |
|
is |
コンストラクターの詳細
ConfigurationServiceClientCredentialFactory(ConfigurationServiceClientCredentialFactoryOptions)
ConfigurationServiceClientCredentialFactory クラスの新しいインスタンスを初期化します。
new ConfigurationServiceClientCredentialFactory(factoryOptions?: ConfigurationServiceClientCredentialFactoryOptions)
パラメーター
継承されたプロパティの詳細
appId
この資格情報のアプリ ID。
appId: string | null
プロパティ値
string | null
継承元 PasswordServiceClientCredentialFactory.appId
password
この資格情報のアプリ パスワード。
password: string | null
プロパティ値
string | null
継承元 PasswordServiceClientCredentialFactory.password
tenantId
ボットが作成される Azure AD テナントのテナント ID。
tenantId: string | null
プロパティ値
string | null
継承元 PasswordServiceClientCredentialFactory.tenantId
メソッドの詳細
createCredentials(string, string, string, boolean)
function createCredentials(microsoftAppId: string, audience: string, loginEndpoint: string, validateAuthority: boolean): Promise<ServiceClientCredentials>
パラメーター
- microsoftAppId
-
string
- audience
-
string
- loginEndpoint
-
string
- validateAuthority
-
boolean
戻り値
Promise<ServiceClientCredentials>
isAuthenticationDisabled()
function isAuthenticationDisabled(): Promise<boolean>
戻り値
Promise<boolean>
isValidAppId(string)
function isValidAppId(microsoftAppId: string): Promise<boolean>
パラメーター
- microsoftAppId
-
string
戻り値
Promise<boolean>