Get a string containing the Authentication parameters that should be
passed in the authentication request. Compatible with Two-Legged OAuth
authentication.
| C# | Visual Basic | Visual C++ |
public string GetAuthParameters( Uri uri, string method, string requestorId, NameValueCollection arguments, AuthenticationMethod format )
Public Function GetAuthParameters ( _ uri As Uri, _ method As String, _ requestorId As String, _ arguments As NameValueCollection, _ format As AuthenticationMethod _ ) As String
public: String^ GetAuthParameters( Uri^ uri, String^ method, String^ requestorId, NameValueCollection^ arguments, AuthenticationMethod format )
- uri (Uri)
- URL for the request.
- method (String)
- HTTP Request method.
- requestorId (String)
- User account ID.
- arguments (NameValueCollection)
- All non-query arguments that will be included in the request.
- format (AuthenticationMethod)
- Format of the authentication request data.
String containing the OAuth authentication parameters.
Not for the faint of heart. For most situations, use GetCredentials()
and pass the output to the WebRequest.Credentials property.