다음을 통해 공유


OAuthClient.GetSignInResourceWithHttpMessagesAsync 메서드

정의

HTTP 메시지를 사용하여 로그인 리소스를 가져옵니다.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Schema.SignInResource>> GetSignInResourceWithHttpMessagesAsync(string state, string codeChallenge = default, string emulatorUrl = default, string finalRedirect = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
member this.GetSignInResourceWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Schema.SignInResource>>
Public Function GetSignInResourceWithHttpMessagesAsync (state As String, Optional codeChallenge As String = Nothing, Optional emulatorUrl As String = Nothing, Optional finalRedirect As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of SignInResource))

매개 변수

state
String

상태

codeChallenge
String

코드 챌린지.

emulatorUrl
String

에뮬레이터 URL입니다.

finalRedirect
String

최종 리디렉션.

customHeaders
Dictionary<String,List<String>>

요청에 추가될 헤더입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

Task<Microsoft.Rest.HttpOperationResponse<SignInResource>>

응답 본문 및 응답 헤더를 포함하는 응답 개체입니다.

예외

Microsoft.Rest.HttpOperationException

작업이 잘못된 상태 코드를 반환할 때 throw됩니다.

Microsoft.Rest.SerializationException

응답을 역직렬화할 수 없는 경우 throw됩니다.

Microsoft.Rest.ValidationException

입력 값이 예상 데이터 형식, 범위 또는 패턴과 일치하지 않을 때 throw됩니다.

필수 매개 변수가 null이면 throw됩니다.

적용 대상