internal void SignatureTest(HttpRequestMessage request, AccessKey[] accessKeys, bool validate) { var resolver = new SignalRRequestResolver(); Assert.Equal(validate, resolver.ValidateSignature(request, accessKeys)); }
public void SignatureTest(HttpRequestMessage request, string accessKey, bool validate) { var resolver = new SignalRRequestResolver(); Assert.Equal(validate, resolver.ValidateSignature(request, accessKey)); }