AuthMatcher.methodAndUrl constructor

const AuthMatcher.methodAndUrl(
  1. Pattern methodPattern,
  2. Pattern urlPattern
)

method and url

pattern or string

method will be upper case

url will be all but queries

Implementation

const factory AuthMatcher.methodAndUrl(
  Pattern methodPattern,
  Pattern urlPattern,
) = AuthMatcherMethodAndUrlImpl;