OAuthHttpClient.AuthorizeAsync Method

Namespace:  Microsoft.VisualStudio.Services.OAuth.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
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
)
public:
Task<AuthorizationResponse^>^ AuthorizeAsync(
    String^ clientId, 
    String^ responseType, 
    String^ redirectUri, 
    String^ scope, 
    String^ state, 
    Object^ userState
)
member AuthorizeAsync : 
        clientId:string * 
        responseType:string * 
        redirectUri:string * 
        scope:string * 
        state:string * 
        userState:Object -> Task<AuthorizationResponse> 
public function AuthorizeAsync(
    clientId : String, 
    responseType : String, 
    redirectUri : String, 
    scope : String, 
    state : String, 
    userState : Object
) : Task<AuthorizationResponse>

Parameters

Return Value

Type: System.Threading.Tasks.Task<AuthorizationResponse>

.NET Framework Security

See Also

Reference

OAuthHttpClient Class

Microsoft.VisualStudio.Services.OAuth.Client Namespace