Packagenet.oauth
Classpublic class Nonce

Unless otherwise specified by the Service Provider, the timestamp is expressed in the number of seconds since January 1, 1970 00:00:00 GMT. The timestamp value MUST be a positive integer and MUST be equal or greater than the timestamp used in previous requests. The Consumer SHALL then generate a Nonce value that is unique for all requests with that timestamp. A nonce is a random string, uniquely generated for each request. The nonce allows the Service Provider to verify that a request has never been made before and helps prevent replay attacks when requests are made over a non-secure channel (such as HTTP).

生成OAuth验证Nonce与TimeStamp



Public Properties
 PropertyDefined by
  OAuthNonce : String
[static][read-only] A nonce is a random string, uniquely generated for each request.
Nonce
  OAuthTimeStamp : String
[static][read-only] the timestamp is expressed in the number of seconds since January 1, 1970 00:00:00 GMT

获取OAuth timestamp
Nonce
Property detail
OAuthNonceproperty
OAuthNonce:String  [read-only]

A nonce is a random string, uniquely generated for each request.

获取OAuth Nonce

Implementation
    public static function get OAuthNonce():String
OAuthTimeStampproperty 
OAuthTimeStamp:String  [read-only]

the timestamp is expressed in the number of seconds since January 1, 1970 00:00:00 GMT

获取OAuth timestamp

Implementation
    public static function get OAuthTimeStamp():String