Ejemplo n.º 1
0
 public UrlSignature(IRequestRepository requestRepository, SignatureContext context)
 {
     this.Context           = context;
     this.Encoding          = Encoding.UTF8;
     this.Signature         = SignatureFactory.GetSignature(context.Method);
     this.RequestRepository = requestRepository;
 }
Ejemplo n.º 2
0
 public UrlSignature(IRequestRepository requestRepository, Encoding encoding)
 {
     this.RequestRepository = requestRepository;
     this.Encoding          = encoding;
     this.Context           = new SignatureContext(RequestRepository, Encoding);
     this.Signature         = SignatureFactory.GetSignature(Context.Method);
 }