다음을 통해 공유


BotFrameworkAuthentication.GenerateCallerIdAsync 메서드

정의

활동에 쓸 적절한 callerId를 생성합니다. null일 수 있습니다.

protected internal System.Threading.Tasks.Task<string> GenerateCallerIdAsync (Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory credentialFactory, System.Security.Claims.ClaimsIdentity claimsIdentity, string callerId, System.Threading.CancellationToken cancellationToken);
member this.GenerateCallerIdAsync : Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory * System.Security.Claims.ClaimsIdentity * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Protected Friend Function GenerateCallerIdAsync (credentialFactory As ServiceClientCredentialsFactory, claimsIdentity As ClaimsIdentity, callerId As String, cancellationToken As CancellationToken) As Task(Of String)

매개 변수

credentialFactory
ServiceClientCredentialsFactory

사용할 입니다 ServiceClientCredentialsFactory .

claimsIdentity
ClaimsIdentity

인바운드 클레임입니다.

callerId
String

기술이 아닌 경우 사용할 기본 callerId입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

callerId, null일 수 있습니다.

적용 대상