OAuthHttpClient.AuthorizeAsync 메서드
네임스페이스: Microsoft.VisualStudio.Services.OAuth.Client
어셈블리: Microsoft.VisualStudio.Services.WebApi(Microsoft.VisualStudio.Services.WebApi.dll)
구문
‘선언
Public Function AuthorizeAsync ( _
clientId As String, _
responseType As String, _
redirectUri As String, _
scope As String, _
state As String, _
userState As Object _
) As Task(Of AuthorizationResponse)
public Task<AuthorizationResponse> AuthorizeAsync(
string clientId,
string responseType,
string redirectUri,
string scope,
string state,
Object userState
)
매개 변수
- clientId
형식: System.String
- responseType
형식: System.String
- redirectUri
형식: System.String
- scope
형식: System.String
- state
형식: System.String
- userState
형식: System.Object
반환 값
형식: System.Threading.Tasks.Task<AuthorizationResponse>
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.