ConfigurationCredentialProvider 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
주의
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
- 상속
- 특성
설명
그러면 앱 설정 항목의 가 의 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) |