Exemplo n.º 1
0
        private Dictionary <string, string> GetMutatedProofKeyHeaders(
            Dictionary <string, string> original,
            Func <long, Dictionary <string, string> > proofKeyGeneration)
        {
            ProofKeyMutator mutator = Mutators.OfType <ProofKeyMutator>().FirstOrDefault();

            return(mutator == null ? original : mutator.Mutate(original, proofKeyGeneration));
        }
Exemplo n.º 2
0
        private string GetMutatedAccessToken(string original)
        {
            AccessTokenMutator mutator = Mutators.OfType <AccessTokenMutator>().FirstOrDefault();

            return(mutator == null ? original : mutator.Mutate(original));
        }