Packagecom.yahoo.oauth
Classpublic dynamic class OAuthConsumer

The OAuthConsumer class contains the consumer key and secret provided by a service provider. This class is dynamic in order to support extensions.

See also

http://oauth.net/core/1.0#anchor6


Public Properties
 PropertyDefined by
  empty : Boolean
[read-only] Returns true if the token or key values are empty or null.
OAuthConsumer
  key : String
Consumer key
OAuthConsumer
  secret : String
Consumer secret
OAuthConsumer
Public Methods
 MethodDefined by
  
OAuthConsumer(key:String = "", secret:String = "")
Class constructor Creates a new OAuthConsumer object.
OAuthConsumer
Property detail
emptyproperty
empty:Boolean  [read-only]

Returns true if the token or key values are empty or null.

Implementation
    public function get empty():Boolean
keyproperty 
key:String  [read-write]

Consumer key

Implementation
    public function get key():String
    public function set key(value:String):void
secretproperty 
secret:String  [read-write]

Consumer secret

Implementation
    public function get secret():String
    public function set secret(value:String):void
Constructor detail
OAuthConsumer()constructor
public function OAuthConsumer(key:String = "", secret:String = "")

Class constructor Creates a new OAuthConsumer object.

Parameters
key:String (default = "") — Consumer key.
 
secret:String (default = "") — Consumer secret.