다음을 통해 공유


ConfigurationCredentialProvider 클래스

정의

주의

Use ConfigurationBotFrameworkAuthentication instead to configure credentials.

에서 자격 증명을 로드합니다 AppSettings.

[System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)]
public sealed class ConfigurationCredentialProvider : Microsoft.Bot.Connector.Authentication.SimpleCredentialProvider
[<System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)>]
type ConfigurationCredentialProvider = class
    inherit SimpleCredentialProvider
Public NotInheritable Class ConfigurationCredentialProvider
Inherits SimpleCredentialProvider
상속
ConfigurationCredentialProvider
특성

설명

그러면 앱 설정 항목의 가 의 MicrosoftAppIdKey 키로 채워지고 Password 앱 설정의 가 의 키MicrosoftAppPasswordKey로 채워집니다AppId.

참고: 키가 없으면 값이 null 사용됩니다.

생성자

ConfigurationCredentialProvider()
사용되지 않음.

ConfigurationCredentialProvider 클래스의 새 인스턴스를 초기화합니다.

ConfigurationCredentialProvider(IConfiguration)
사용되지 않음.

ConfigurationCredentialProvider 클래스의 새 인스턴스를 초기화합니다.

속성

AppId
사용되지 않음.

이 자격 증명의 앱 ID를 가져오거나 설정합니다.

(다음에서 상속됨 SimpleCredentialProvider)
Password
사용되지 않음.

이 자격 증명의 앱 암호를 가져오거나 설정합니다.

(다음에서 상속됨 SimpleCredentialProvider)

메서드

GetAppPasswordAsync(String)
사용되지 않음.

지정된 봇 앱 ID에 대한 앱 암호를 가져옵니다.

(다음에서 상속됨 SimpleCredentialProvider)
IsAuthenticationDisabledAsync()
사용되지 않음.

봇 인증을 사용할 수 없는지 여부를 확인합니다.

(다음에서 상속됨 SimpleCredentialProvider)
IsValidAppIdAsync(String)
사용되지 않음.

앱 ID의 유효성을 검사합니다.

(다음에서 상속됨 SimpleCredentialProvider)

적용 대상