OAuthRequest object
The OAuthRequest object can use the access token to obtain each
property of the HTTP request of the protected resource, including the
server address, the request header, the security protocol, the timeout
value etc.
Note
This object cannot be referenced in the .NET Assembly component,
otherwise the component will fail to be deployed.
Properties
|
OAuthRequest property |
Datatype |
Description |
|---|---|---|
|
Boolean |
Whether to allow the client to access the server |
|
|
Boolean |
Checks if the server certificate is |
|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
Boolean |
Whether to enable support for the HTTP2 connection |
|
|
Integer |
Ignores certain error(s) of the server |
|
|
String |
HTTP method for sending authentication requests. GET – HTTP get method; POST |
|
|
Integer |
Specifies the security protocol. |
|
|
Long |
Specifies the timeout seconds. The default value is |
|
|
String |
Specifies the request URL. |
Functions
|
OAuthRequest function |
Datatype returned |
Description |
|---|---|---|
|
String |
Returns the name assigned to the |
|
|
Integer |
Clears the client certificate that is set with |
|
|
Integer |
Clears the headers of the request. |
|
|
Integer |
Gets the body into string. |
|
|
Integer |
Creates a reference to a context-specific instance |
|
|
String |
Gets the request header by name. |
|
|
String |
Gets the header of all of the |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
Integer |
Sets the access token. |
|
|
Integer |
Sets the request body. |
|
|
Integer |
Sets the client certificate that will be used to |
|
|
Integer |
Sets the request header. |
|
|
Integer |
Sets the header information of all of the |
|
|
Object |
Returns the type of the object. |