The base class for all S3 requests.
コード例 #1
0
ファイル: S3Service.cs プロジェクト: zhaoyingju/resizer
        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);
            }
        }
コード例 #2
0
ファイル: S3Service.cs プロジェクト: ngs-doo/revenj
        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);
        }
コード例 #3
0
ファイル: S3Request.cs プロジェクト: stukalin/ImageResizer
 public S3RequestArgs(S3Request request)
 {
     this.Request = request;
 }
コード例 #4
0
ファイル: S3Request.cs プロジェクト: zhaoyingju/resizer
 public S3RequestArgs(S3Request request)
 {
     this.Request = request;
 }