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)); }
private string GetMutatedAccessToken(string original) { AccessTokenMutator mutator = Mutators.OfType <AccessTokenMutator>().FirstOrDefault(); return(mutator == null ? original : mutator.Mutate(original)); }