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); }
protected AbstractDISSigner SelectSigner(AbstractDISSigner defaultSigner, bool useSigV4Setting, IRequest request, ClientConfig config) { return(defaultSigner); }