ManagedIdentityApplication class

관리 ID를 초기화하고 서비스를 식별하는 클래스

메서드

acquireToken(ManagedIdentityRequestParams)

캐시 또는 관리 ID에서 액세스 토큰 획득

getManagedIdentitySource()

사용 가능한 환경 변수에 따라 관리 ID 원본을 결정합니다. 이 API는 Azure ID SDK에서 사용합니다.

생성자 세부 정보

ManagedIdentityApplication(ManagedIdentityConfiguration)

new ManagedIdentityApplication(configuration?: ManagedIdentityConfiguration)

매개 변수

메서드 세부 정보

acquireToken(ManagedIdentityRequestParams)

캐시 또는 관리 ID에서 액세스 토큰 획득

function acquireToken(managedIdentityRequestParams: ManagedIdentityRequestParams): Promise<AuthenticationResult>

매개 변수

managedIdentityRequestParams
ManagedIdentityRequestParams

반품

액세스 토큰

getManagedIdentitySource()

사용 가능한 환경 변수에 따라 관리 ID 원본을 결정합니다. 이 API는 Azure ID SDK에서 사용합니다.

function getManagedIdentitySource(): ManagedIdentitySourceNames

반품

ManagedIdentitySourceNames - 관리 ID 원본의 이름