コード例 #1
0
        public static OBS.Runtime.Internal.IRequest Sign(OBS.Runtime.Internal.IRequest request, String ak, String sk, String region)
        {
            // sign request
            AbstractDISSigner signer = SignerFactory.GetSigner(Constants.SERVICENAME, region);

            signer.Sign(request, new BasicCredentials(ak, sk));
            return(request);
        }
コード例 #2
0
 protected AbstractDISSigner SelectSigner(AbstractDISSigner defaultSigner, bool useSigV4Setting,
                                          IRequest request, ClientConfig config)
 {
     return(defaultSigner);
 }