TokenRequest object
The TokenRequest object can get or set the properties for the access
token request, including the address of the authorization server, the
OAuth 2.0 authorization process, the scope of the access request, the
secure protocol, the timeout value etc.
Note
This object cannot be referenced in .NET Web Service or .NET
Assembly components, otherwise the component will fail to be
deployed.
Properties
|
TokenRequest property |
Datatype |
Description |
|---|---|---|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
String |
Identifier of the registered client issued by the |
|
|
String |
Password of the registered client issued by the |
|
|
String |
The type of the authorization process. Values
|
|
|
String |
HTTP method for sending the authentication request. GET – HTTP get method; POST |
|
|
String |
The password of the resource owner. |
|
|
String |
The scope of the access request. |
|
|
Integer |
Specifies the secure protocol with the integer 0 – All secure protocols. This 1 – TLS1.0; 2 – 3 – TLS1.2. |
|
|
Long |
Specifies the timeout seconds. The default value is |
|
|
String |
The URL of the authorization server. |
|
|
String |
The name of the resource owner. |
Functions
|
TokenRequest function |
Datatype returned |
Description |
|---|---|---|
|
Integer |
Appends the parameter to the request for Extension |
|
|
String |
Returns the name assigned to the |
|
|
Integer |
Clears the header of the request. |
|
|
Integer |
Clears all of the parameters appended by the |
|
|
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 request header by name. |
|
|
Integer |
Sets the header information of all of the |
|
|
Object |
Returns the type of the object. |