BotFrameworkAuthentication.GenerateCallerIdAsync 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
활동에 쓸 적절한 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일 수 있습니다.