Packagecom.amazonaws.auth
Classpublic class BasicSessionCredentials
InheritanceBasicSessionCredentials Inheritance Object
Implements AWSSessionCredentials, flash.events.IEventDispatcher

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

Basic implementation of the BasicSessionCredentials interface that allows callers to pass in the AWS access key, secret access and session token in the constructor.



Public Properties
 PropertyDefined By
  awsAccessKeyId : String
Returns the AWS access key ID for this credentials object (a 20-character, alphanumeric sequence).
BasicSessionCredentials
  awsSecretKey : String
Returns the AWS secret access key for this credentials object (a 40-character sequence).
BasicSessionCredentials
  sessionToken : String
Returns the session token for this session.
BasicSessionCredentials
Public Methods
 MethodDefined By
  
BasicSessionCredentials(awsAccessKey:String, awsSecretKey:String, sessionToken:String)
Constructor.
BasicSessionCredentials
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
BasicSessionCredentials
  
dispatchEvent(event:Event):Boolean
BasicSessionCredentials
  
hasEventListener(type:String):Boolean
BasicSessionCredentials
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
BasicSessionCredentials
  
willTrigger(type:String):Boolean
BasicSessionCredentials
Property Detail
awsAccessKeyIdproperty
awsAccessKeyId:String

Returns the AWS access key ID for this credentials object (a 20-character, alphanumeric sequence).

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

Returns the AWS secret access key for this credentials object (a 40-character sequence).

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


Implementation
    public function get awsSecretKey():String
    public function set awsSecretKey(value:String):void
sessionTokenproperty 
sessionToken:String

Returns the session token for this session.

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


Implementation
    public function get sessionToken():String
    public function set sessionToken(value:String):void
Constructor Detail
BasicSessionCredentials()Constructor
public function BasicSessionCredentials(awsAccessKey:String, awsSecretKey:String, sessionToken:String)

Constructor.

Parameters
awsAccessKey:String — The AWS access key ID.
 
awsSecretKey:String — AWS secret access key.
 
sessionToken:String — AWS session token.
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