Get a string containing the Authentication parameters that should be
passed in the authentication request. Compatible with standard OAuth
authentication.
| C# | Visual Basic | Visual C++ |
public string GetAuthParameters( Uri uri, string method, AccessToken token, NameValueCollection arguments, AuthenticationMethod format )
Public Function GetAuthParameters ( _ uri As Uri, _ method As String, _ token As AccessToken, _ arguments As NameValueCollection, _ format As AuthenticationMethod _ ) As String
public: String^ GetAuthParameters( Uri^ uri, String^ method, AccessToken^ token, NameValueCollection^ arguments, AuthenticationMethod format )
- uri (Uri)
- URL for the request.
- method (String)
- HTTP Request method.
- token (AccessToken)
- AccessToken to use.
- 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.