Package | com.adobe.webapis.flickr.methodgroups |
Class | public class Auth |
Method | Defined by | ||
---|---|---|---|
Auth(service:FlickrService)
Construct a new Test "method group" class
| Auth | ||
checkToken(token:String):void
Returns the credentials attached to an authentication token.
| Auth | ||
getFrob():void
Returns a frob to be used during authentication.
| Auth | ||
getToken(frob:String):void
Returns the auth token for the given frob, if one has been attached.
| Auth |
Event | Summary | Defined by | ||
---|---|---|---|---|
Broadcast as a result of the checkToken method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains an "auth" AuthResult instance When success is false, contains an "error" FlickrError instance | Auth | |||
Broadcast as a result of the getFrob method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains a "frob" string (the frob value to be used for authentication) When success is false, contains an "error" FlickrError instance | Auth | |||
Broadcast as a result of the getToken method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains an "auth" AuthResult instance When success is false, contains an "error" FlickrError instance | Auth |
Auth | () | constructor |
public function Auth(service:FlickrService)
Construct a new Test "method group" class
Parametersservice:FlickrService — The FlickrService this method group
is associated with.
|
checkToken | () | method |
public function checkToken(token:String):void
Returns the credentials attached to an authentication token.
Parameterstoken:String — The authentication token to check
|
See also
getFrob | () | method |
public function getFrob():void
Returns a frob to be used during authentication.
See also
getToken | () | method |
public function getToken(frob:String):void
Returns the auth token for the given frob, if one has been attached.
Parametersfrob:String — The frob to get the token for
|
See also
authCheckToken | event |
com.adobe.webapis.flickr.events.FlickrResultEvent
Broadcast as a result of the checkToken method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains an "auth" AuthResult instance When success is false, contains an "error" FlickrError instance
See also
authGetFrob | event |
com.adobe.webapis.flickr.events.FlickrResultEvent
Broadcast as a result of the getFrob method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains a "frob" string (the frob value to be used for authentication) When success is false, contains an "error" FlickrError instance
See also
authGetToken | event |
com.adobe.webapis.flickr.events.FlickrResultEvent
Broadcast as a result of the getToken method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains an "auth" AuthResult instance When success is false, contains an "error" FlickrError instance
See also