Class OAuthTokenParameter
- Namespace
- ArcanaDevelopment.adTempus.Shared.WebRequests
- Assembly
- ArcanaDevelopment.adTempus.Shared.dll
An additional parameter sent with the OAuth 2.0 token request of a Web Request Task (for example, audience or resource).
[Serializable]
[DataContract(Name = "TokenParameter", Namespace = "")]
public sealed class OAuthTokenParameter : WebRequestNameValueItem
- Inheritance
-
objectOAuthTokenParameter
Remarks
Parameters named grant_type, client_id, client_secret, or scope are ignored, because they are set from the task's other settings.
Constructors
OAuthTokenParameter()
Initializes a new parameter.
public OAuthTokenParameter()
OAuthTokenParameter(string, string)
Initializes a new parameter with the specified name and value.
public OAuthTokenParameter(string name, string value)
Parameters
| Name | Type | Description |
|---|---|---|
name |
string | |
value |
string |
Methods
Clone()
Creates a copy of the parameter, including its Id.
public OAuthTokenParameter Clone()