Learn R Programming

MTurkR (version 0.5.1)

authenticate: Authenticate an MTurk Request

Description

An internal function to authenticate requests, deprecated as of v0.5.

Usage

authenticate(operation, secret,
             service = "AWSMechanicalTurkRequester", version = "2012-03-25")

Arguments

operation
A character string containing the operation to be performed.
secret
The AWS Secret Access Key used to encode the authentication signature.
service
The MTurk service to which the authenticated request will be sent. Supplied only for advanced users.
version
The version of the MTurk API that will be used. Default is the most current version.

Value

  • A list containing the operation to be performed, a base64 encoded, HMAC signature character string, and a formatted timestamp.

Details

This is a former function that authenticated MTurk API requests. It is now deprecated because request now calculates the authentication signature internally and has added service and version arguments.

References

http://docs.amazonwebservices.com/AWSMechTurk/latest/AWSMechanicalTurkRequester/MakingRequestsArticle.html{API Reference}

See Also

request