Learn R Programming

MTurkR (version 0.2)

authenticate: Authenticate an MTurk Request

Description

A (mostly internal) workhorse function to authenticate requests. This is only supplied for use by advanced users.

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 mostly internal function that authenticates MTurk API requests. It is made available for use by advanced users to authenticate custom requests.

References

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

See Also

request