다음을 통해 공유


BotFrameworkAuthentication.AuthenticateStreamingRequestAsync 메서드

정의

Bot Framework 프로토콜 요청의 유효성을 검사합니다.

public abstract System.Threading.Tasks.Task<Microsoft.Bot.Connector.Authentication.AuthenticateRequestResult> AuthenticateStreamingRequestAsync(string authHeader, string channelIdHeader, System.Threading.CancellationToken cancellationToken);
abstract member AuthenticateStreamingRequestAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.Authentication.AuthenticateRequestResult>
Public MustOverride Function AuthenticateStreamingRequestAsync (authHeader As String, channelIdHeader As String, cancellationToken As CancellationToken) As Task(Of AuthenticateRequestResult)

매개 변수

authHeader
String

http 인증 헤더입니다.

channelIdHeader
String

채널 ID HTTP 헤더입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

를 사용하여 비동기 작업을 수행 AuthenticateRequestResult합니다.

예외

유효성 검사에서 false를 반환하는 경우

적용 대상