Package | com.amazonaws.auth |
Class | public class BasicSessionCredentials |
Inheritance | BasicSessionCredentials ![]() |
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 |
Property | Defined 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 |
Method | Defined 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 |
awsAccessKeyId | property |
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.
public function get awsAccessKeyId():String
public function set awsAccessKeyId(value:String):void
awsSecretKey | property |
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.
public function get awsSecretKey():String
public function set awsSecretKey(value:String):void
sessionToken | property |
sessionToken:String
Returns the session token for this session.
This property can be used as the source for data binding.
public function get sessionToken():String
public function set sessionToken(value:String):void
BasicSessionCredentials | () | Constructor |
public function BasicSessionCredentials(awsAccessKey:String, awsSecretKey:String, sessionToken:String)
Constructor.
ParametersawsAccessKey:String — The AWS access key ID.
| |
awsSecretKey:String — AWS secret access key.
| |
sessionToken:String — AWS session token.
|
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 |
Boolean |
hasEventListener | () | method |
public function hasEventListener(type:String):Boolean
Parameters
type:String |
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 |
Boolean |