다음을 통해 공유


ICredentialProvider 인터페이스

정의

주의

Use ConfigurationBotFrameworkAuthentication instead to configure credentials.

CredentialProvider 인터페이스. 이 인터페이스를 사용하면 봇이 유효한 appId 및 암호가 무엇이고 무엇이 아닌지에 대한 자체 구현을 제공할 수 있습니다. 이는 봇이 특정 appid/password 쌍이 유효한지 확인하기 위해 서비스를 호출해야 하는 다중 테넌트 봇의 경우에 유용합니다.

단일 테넌트 봇(대다수)의 경우 간단한 정적 공급자로 충분합니다.

[System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)]
public interface ICredentialProvider
[<System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)>]
type ICredentialProvider = interface
Public Interface ICredentialProvider
파생
특성

메서드

GetAppPasswordAsync(String)
사용되지 않음.

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

IsAuthenticationDisabledAsync()
사용되지 않음.

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

IsValidAppIdAsync(String)
사용되지 않음.

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

적용 대상