OAuthS2SCredential.GetAuthorization Method (OAuthS2SAuthenticationChallenge[], HttpWebRequest)
Gets the authorization request.
Namespace: Microsoft.Workflow.Client.Security
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Syntax
public abstract Authorization GetAuthorization(
OAuthS2SAuthenticationChallenge[] bearerChallenges,
HttpWebRequest request
)
public:
virtual Authorization^ GetAuthorization(
array<OAuthS2SAuthenticationChallenge^>^ bearerChallenges,
HttpWebRequest^ request
) abstract
abstract GetAuthorization :
bearerChallenges:OAuthS2SAuthenticationChallenge[] *
request:HttpWebRequest -> Authorization
Public MustOverride Function GetAuthorization (
bearerChallenges As OAuthS2SAuthenticationChallenge(),
request As HttpWebRequest
) As Authorization
Parameters
bearerChallenges
Type: Microsoft.Workflow.Client.Security.OAuthS2SAuthenticationChallenge[]The list of challenges in the HTTP 401 response.
request
Type: System.Net.HttpWebRequestThe HTTP request on which to include the token.
Return Value
Type: System.Net.Authorization
The Authorization request.
See Also
OAuthS2SCredential Class
Microsoft.Workflow.Client.Security Namespace
Return to top