The base class for all S3 requests.
Example #1
0
        internal void AuthorizeRequest(S3Request request, HttpWebRequest webRequest, string bucketName)
        {
            if (BeforeAuthorize != null)
            {
                BeforeAuthorize(this, new S3RequestArgs(request));
            }

            // if you haven't set a secret access key, we can't authorize anything! maybe
            // you're talking to a mock S3 server. At any rate, the server will complain
            // if it expects the authorization.
            if (authorizer != null)
            {
                authorizer.AuthorizeRequest(webRequest, bucketName);
            }
        }
Example #2
0
        internal void AuthorizeRequest(S3Request request, HttpWebRequest webRequest, string bucketName)
        {
            if (BeforeAuthorize != null)
                BeforeAuthorize(this, new S3RequestArgs(request));

            // if you haven't set a secret access key, we can't authorize anything! maybe
            // you're talking to a mock S3 server. At any rate, the server will complain
            // if it expects the authorization.
            if (authorizer != null)
                authorizer.AuthorizeRequest(webRequest, bucketName);
        }
Example #3
0
 public S3RequestArgs(S3Request request)
 {
     this.Request = request;
 }
Example #4
0
 public S3RequestArgs(S3Request request)
 {
     this.Request = request;
 }