Packagecom.amazonaws.auth
Classpublic class BasicAWSCredentials
InheritanceBasicAWSCredentials Inheritance Object
Implements AWSCredentials, flash.events.IEventDispatcher

Language Version : ActionScript 3.0
Product Version : Flex 4
Since : January 24. 2011
Runtime Versions : Flash Player 10.1, AIR 2.5

Basic implementation of the AWSCredentials interface that allows callers to pass in the AWS access key and secret access in the constructor.



Public Properties
 PropertyDefined By
  awsAccessKeyId : String
BasicAWSCredentials
  awsSecretKey : String
BasicAWSCredentials
Public Methods
 MethodDefined By
  
BasicAWSCredentials(accessKey:String, secretKey:String)
Constructs a new BasicAWSCredentials object, with the specified AWS access key and AWS secret key.
BasicAWSCredentials
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
BasicAWSCredentials
  
dispatchEvent(event:Event):Boolean
BasicAWSCredentials
  
hasEventListener(type:String):Boolean
BasicAWSCredentials
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
BasicAWSCredentials
  
willTrigger(type:String):Boolean
BasicAWSCredentials
Property Detail
awsAccessKeyIdproperty
awsAccessKeyId:String

This property can be used as the source for data binding.


Implementation
    public function get awsAccessKeyId():String
    public function set awsAccessKeyId(value:String):void
awsSecretKeyproperty 
awsSecretKey:String

This property can be used as the source for data binding.


Implementation
    public function get awsSecretKey():String
    public function set awsSecretKey(value:String):void
Constructor Detail
BasicAWSCredentials()Constructor
public function BasicAWSCredentials(accessKey:String, secretKey:String)

Constructs a new BasicAWSCredentials object, with the specified AWS access key and AWS secret key.

Parameters
accessKey:String — the AWS access key.
 
secretKey:String — the AWS secret access key.
Method Detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
weakRef:Boolean (default = false)

dispatchEvent()method 
public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

Returns
Boolean
hasEventListener()method 
public function hasEventListener(type:String):Boolean

Parameters

type:String

Returns
Boolean
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

willTrigger()method 
public function willTrigger(type:String):Boolean

Parameters

type:String

Returns
Boolean