From 01533a0552eb7d614d48c5c919ea01c1309097fc Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Fri, 15 Oct 2021 10:57:36 +0000 Subject: [PATCH] AnyOf[] GetPatterns(); --- .../Authentication/AzureADAuthenticationMatcher.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/WireMock.Net/Authentication/AzureADAuthenticationMatcher.cs b/src/WireMock.Net/Authentication/AzureADAuthenticationMatcher.cs index 2032ad364..db4eba46d 100644 --- a/src/WireMock.Net/Authentication/AzureADAuthenticationMatcher.cs +++ b/src/WireMock.Net/Authentication/AzureADAuthenticationMatcher.cs @@ -1,12 +1,13 @@ #if !NETSTANDARD1_3 -using System; using System.Globalization; using System.IdentityModel.Tokens.Jwt; using System.Text.RegularExpressions; +using AnyOfTypes; using Microsoft.IdentityModel.Protocols; using Microsoft.IdentityModel.Protocols.OpenIdConnect; using Microsoft.IdentityModel.Tokens; using WireMock.Matchers; +using WireMock.Models; namespace WireMock.Authentication { @@ -33,9 +34,9 @@ public AzureADAuthenticationMatcher(string tenant, string audience) public bool ThrowException => false; - public string[] GetPatterns() + public AnyOf[] GetPatterns() { - throw new NotImplementedException(); + return new AnyOf[0]; } public double IsMatch(string input)