다음을 통해 공유


ManagedIdentityServiceClientCredentialsFactory class

ServiceClientCredentialsFactory 추상 클래스의 관리 ID 구현입니다.

Extends

생성자

ManagedIdentityServiceClientCredentialsFactory(string, IJwtTokenProviderFactory)

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

메서드

createCredentials(string, string)
isAuthenticationDisabled()
isValidAppId(string)

생성자 세부 정보

ManagedIdentityServiceClientCredentialsFactory(string, IJwtTokenProviderFactory)

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

new ManagedIdentityServiceClientCredentialsFactory(appId: string, tokenProviderFactory: IJwtTokenProviderFactory)

매개 변수

appId

string

봇에 할당된 관리 ID의 클라이언트 ID입니다.

tokenProviderFactory
IJwtTokenProviderFactory

사용할 JWT 토큰 공급자 팩터리입니다.

메서드 세부 정보

createCredentials(string, string)

function createCredentials(appId: string, audience: string): Promise<ServiceClientCredentials>

매개 변수

appId

string

audience

string

반환

Promise<ServiceClientCredentials>

isAuthenticationDisabled()

function isAuthenticationDisabled(): Promise<boolean>

반환

Promise<boolean>

isValidAppId(string)

function isValidAppId(appId: string): Promise<boolean>

매개 변수

appId

string

반환

Promise<boolean>